`---------------------------------------------------------------------------
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:
[email protected]' -- '
Tested with:
============
Apache 2.0.55 (running on windows xp)
PHP Classifieds 6.20 Released 10.12.2005
PHP 5.0.5.5 (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
`
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