SQL injection in PHP Classifieds 6.20

Credit: Audun Larsen
Risk: Medium
Local: No
Remote: Yes

CVSS Base Score: 7.5/10
Impact Subscore: 6.4/10
Exploitability Subscore: 10/10
Exploit range: Remote
Attack complexity: Low
Authentication: No required
Confidentiality impact: Partial
Integrity impact: Partial
Availability impact: Partial

------------------------------------------------------------------------ --- SQL injection in PHP Classifieds 6.20 ------------------------------------------------------------------------ --- Author: Audun Larsen (audun dot larsen at lkonsult dot no) Date: February 14, 2006 Affected software: ================== Name: PHP Classifieds URL: http://www.deltascripts.com/phpclassifieds Version: 6.20 (older versions not tested) Released: December 10, 2006 Vendors description: ==================== PHP Classifieds is one of the most customizable Classified ad program that exist for PHP and MySql. Discussion: =========== In member_login.php the POST data is only escaped using htmlspecialchars(), wich fails to remove SQL specific characters. This enables an attacker to login using only the e-mail address of a valid user. No password required. Exploit: ======== To login without a password you need a valid users e-mail address (often displayed in a users profile). In the E-mail address field enter: some (at) mail (dot) com [email concealed]' -- ' Tested with: ============ Apache 2.0.55 (running on windows xp) PHP Classifieds 6.20 Released 10.12.2005 PHP (magic_quotes_gpc = Off) Solution: ========= Vendor notified February 13, 2005. Reported fixed by vendor February 14,2005. Disclaimer: =========== The information in this advisory and any of its demonstrations is provided "as is" without warranty of any kind. Copyright © 2006 Audun Larsen

Vote for this issue:


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 2020, cxsecurity.com


Back to Top