Description: Kzar has discovered some vulnerabilities in PHP Classifieds, which can be exploited by malicious people to conduct SQL injection attacks.
Input passed to the "catid" parameter in index.php and the "catid_search" parameter in search.php is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
The vulnerabilities have been confirmed in version 7.1. Other versions may also be affected.
Solution: PHP Classifieds 7.x:
Update to version 7.1b.
PHP Classifieds 6.x:
Update to version 6.20b.
Provided and/or discovered by: Kzar
Changelog: 2006-10-13: Added CVE reference.
2006-11-06: Updated "Solution" section.
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.
Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.
Ideas, suggestions, and other feedback are most welcome.