Title: ====== Classified Ads Script PHP v1.1 - SQL Injection Vulnerabilities Date: ===== 2012-06-13 References: =========== http://www.vulnerability-lab.com/get_content.php?id=605 VL-ID: ===== 605 Common Vulnerability Scoring System: ==================================== 5.5 Introduction: ============= Classified Ads Script PHP requires PHP 4.3 or higher and MySQL 3 or higher to run on your server. Current stable version of Classified Ads Script PHP is 1.1. Classified Ads Script PHP features: One step install page Password protected admin area Full language support in the front-end of the script Fully customizable visual style through the admin area Can literally be dropped into your current site and usable in minutes, not hours or days Buttons for Print Page , MySpace , FaceBook , Twitter , Send to Friend and More Options Set number of classified ads per page Option for featured classified ads Option to approve classified ads before having them posted Set number of days to expire Set your currency Choose the default category to be loaded on the first page Option to show all category ads Option to send email enquiries to publishers Option to allow comments to each classified ad Option to ban unwanted words in comments HTML and Javascript injection prevention Captcha verification code - 100% stops spamming Option to approve comments before having them listed Email notification to administrator for the new comments RSS Feed with images, validated by w3c Fully readable and simple PHP code, so you can change it to suit your needs (Copy of the Vendor Homepage: http://www.classifiedadsscriptphp.com ) Abstract: ========= The Vulnerability Laboratory Research Team discovered multiple different web vulnerabilites in Classified Ads Script PHP v1.1 CMS. Report-Timeline: ================ 2012-06-13: Public or Non-Public Disclosure Status: ======== Published Exploitation-Technique: ======================= Remote Severity: ========= Medium Details: ======== Multiple SQL Injection vulnerabilities are detected in the Classified Ads Script PHP 1.1 Content Management System. The vulnerability allows an attacker (remote) or local low privileged user account to inject/execute own sql commands on the affected application dbms without user inter action. The vulnerability is located in the admin.php file with the bound vulnerable orderType & orderBy parameters. Successful exploitation of the vulnerability results in dbms & application compromise. Vulnerable File(s): [+] admin.php Vulnerable Parameter(s): [+] orderType [+] orderby Proof of Concept: ================= The SQL Injection vulnerabilities can be exploited by remote attackers with privileged user account & without required user inter action. For demonstration or reproduce ... http://127.0.0.1/test/classifiedscript/admin.php?act=ads&orderType=[ ASC / DESC ]&search=&orderBy=[SQL-INJECTION] http://127.0.0.1/test/classifiedscript/admin.php?act=ads&orderType=[SQL-INJECTION] http://127.0.0.1/test/classifiedscript/admin.php?act=comments&ads_id=&orderType=[ ASC / DESC ]&search=&orderBy=[SQL-INJECTION] http://127.0.0.1/test/classifiedscript/admin.php?act=comments&ads_id=&orderType=[SQL-INJECTION] Risk: ===== The security risk of the sql injection vulnerabilities are estimated as medium. Credits: ======== Vulnerability Laboratory [Research Team] - snup (snup@vulnerability-lab.com) [http://snup1.blogspot.com] Disclaimer: =========== The information provided in this advisory is provided as it is without any warranty. Vulnerability-Lab disclaims all warranties, either expressed or implied, including the warranties of merchantability and capability for a particular purpose. Vulnerability- Lab or its suppliers are not liable in any case of damage, including direct, indirect, incidental, consequential loss of business profits or special damages, even if Vulnerability-Lab or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply. Domains: www.vulnerability-lab.com - www.vuln-lab.com Contact: admin@vulnerability-lab.com - support@vulnerability-lab.com - research@vulnerability-lab.com Section: video.vulnerability-lab.com - forum.vulnerability-lab.com - news.vulnerability-lab.com Social: twitter.com/#!/vuln_lab - facebook.com/VulnerabilityLab - youtube.com/user/vulnerability0lab Any modified copy or reproduction, including partially usages, of this file requires authorization from Vulnerability Laboratory. Permission to electronically redistribute this alert in its unmodified form is granted. All other rights, including the use of other media, are reserved by Vulnerability-Lab Research Team or its suppliers. All pictures, texts, advisories, sourcecode, videos and other information on this website is trademark of vulnerability-lab team & the specific authors or managers. To record, list (feed), modify, use or edit our material contact (admin@vulnerability-lab.com or support@vulnerability-lab.com) to get a permission. Copyright © 2012 Vulnerability-Lab -- VULNERABILITY RESEARCH LABORATORY TEAM Website: www.vulnerability-lab.com Mail: research@vulnerability-lab.com