Secunia Logo
Netsikker nu! 2008
 
NetClassifieds Multiple SQL Injection and Cross-Site Scripting
Secunia Advisory: SA17853
Release Date: 2005-12-02
Last Update: 2007-06-25
Popularity: 5,253 views

Critical:
Moderately critical
Impact: Cross Site Scripting
Manipulation of data
Where: From remote
Solution Status: Unpatched

Software:NetClassifieds Free Edition 1.x
NetClassifieds Premium Edition 1.x
NetClassifieds Professional Edition 1.x
NetClassifieds Standard Edition 1.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2005-3978
CVE-2007-3354
CVE-2007-3355


Description:
Some vulnerabilities have been reported in NetClassifieds, which can be exploited by malicious people to conduct SQL injection and cross-site scripting attacks.

1) Input passed to the "CatID" parameter in "ViewCat.php" and "gallery.php", the "ItemNum" parameter in "ViewItem.php", and the "s_user_id" parameter in "ViewCat.php" are not properly sanitised before being used in an SQL query. These can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

2) Input passed to the "CatID" and "s_user_id" parameters in ViewCat.php are not properly sanitised before being returned to the user. These can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.

NOTE: Other parameters are reportedly also affected in both cases.

The vulnerabilities have been reported in the following versions:
* NetClassifieds Premium Edition 1.0.1
* NetClassifieds Professional Edition 1.5.1
* NetClassifieds Standard Edition 1.9.6.3 and 1.9.7
* NetClassifieds Free Edition 1.0.1

Other versions may also be affected.

Solution:
Edit the source code to ensure that input is properly sanitised.

Provided and/or discovered by:
1) r0t
1+2) laurent gaffié

Changelog:
2005-12-07: Added CVE reference.
2007-06-25: Added vulnerability #2. Updated vulnerability #1. Updated the "Original Advisory" section.

Original Advisory:
http://pridels.blogspot.com/2005/12/netclassifieds-all-versions-sql-inj.html
http://milw0rm.com/exploits/4092


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
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.
  
Latest Advisories

Send Feedback to Secunia
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.

Most Popular - 3 Hours

1. VMware ESX Server Sun Java JDK / JRE Multiple Vulnerabilities // 47 views
2. phpBB Avatar Script Insertion Vulnerability // 46 views
3. Microsoft Windows Vista Page Fault Handling Denial of Service // 46 views
4. VMware VirtualCenter Multiple Vulnerabilities // 41 views
5. VMware ESX / ESXi "JMP" Privilege Escalation Vulnerability // 38 views
6. Serv-U File Renaming Directory Traversal and STOU Denial of Service // 33 views
7. Nucleus EUC-JP Cross-Site Scripting Vulnerability // 33 views
8. Subdreamer Light Global Variables SQL Injection Vulnerability // 32 views
9. JMweb MP3 Script "src" File Inclusion Vulnerabilities // 32 views
10. AmpJuke "special" SQL Injection Vulnerability // 32 views