SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Generic)  >   CzarNews Vendors:   Czaries Network
CzarNews Input Validation Holes in 'news.php' and Other Scripts Permit Cross-Site Scripting and SQL Injection Attacks
SecurityTracker Alert ID:  1015957
SecurityTracker URL:  http://securitytracker.com/id/1015957
CVE Reference:   CVE-2006-1640, CVE-2006-1641   (Links to External Site)
Date:  Apr 18 2006
Impact:   Disclosure of authentication information, Disclosure of system information, Disclosure of user information, Execution of arbitrary code via network, Modification of user information, User access via network
Exploit Included:  Yes  
Version(s): 1.14
Description:   A vulnerability was reported in CzarNews. A remote user can conduct cross-site scripting attacks. A remote user can inject SQL commands.

The 'news.php' script does not properly filter HTML code from user-supplied input before displaying the input. If magic_quotes_gpc is disabled, a remote user can create a specially crafted URL that, when loaded by a target user, will cause arbitrary scripting code to be executed by the target user's browser. The code will originate from the site running the CzarNews software and will run in the security context of that site. As a result, the code will be able to access the target user's cookies (including authentication cookies), if any, associated with the site, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.

The 'cn_auth.php' script does not properly validate user-supplied input in the 'usern' and 'passw' parameter. The 'news.php' script does not properly validate user-supplied input in the 's' parameter. The 'dpost.php' script does not properly validate user-supplied input in the 'a' parameter. If magic_quotes_gpc is disabled, a remote user can supply a specially crafted parameter value to execute SQL commands on the underlying database.

Aliaksandr Hartsuyeu discovered this vulnerability.

A demonstration exploit is available at:

http://evuln.com/vulns/118/exploit.html

The original advisory is available at:

http://evuln.com/vulns/118/summary.html

Impact:   A remote user can access the target user's cookies (including authentication cookies), if any, associated with the site running the CzarNews software, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.

A remote user can execute SQL commands on the underlying database.

Solution:   No solution was available at the time of this entry.
Vendor URL:  www.czaries.net/scripts/czarnews.php (Links to External Site)
Cause:   Input validation error
Underlying OS:  Linux (Any), UNIX (Any), Windows (Any)

Message History:   None.


 Source Message Contents

Subject:  [eVuln] CzarNews XSS and Multiple SQL Injection Vulnerabilities

New eVuln Advisory:
CzarNews XSS and Multiple SQL Injection Vulnerabilities
http://evuln.com/vulns/118/summary.html

--------------------Summary----------------
eVuln ID: EV0118
CVE: CVE-2006-1640 CVE-2006-1641
Software: CzarNews
Sowtware's Web Site: http://www.czaries.net/scripts/
Versions: 1.14
Critical Level: Moderate
Type: Multiple Vulnerabilities
Class: Remote
Status: Unpatched. Developer(s) contacted.
PoC/Exploit: Available
Solution: Not Available
Discovered by: Aliaksandr Hartsuyeu (eVuln.com)

-----------------Description---------------
1. Cross-Site Scripting.

Vulnerable Script: news.php

Parameter email is not properly sanitized. This can be used to post arbitrary HTML or web script code.

Condition: magic_quotes_gpc = off


2. Multiple SQL Injections.

Vulnerable scripts:
cn_auth.php
news.php

Parameters usern(cn_auth.php), passw(cn_auth.php), s(news.php), a(dpost.php) are not properly sanitized before being used in SQL queries.
 This can be used to bypass authentication or make any SQL query by injecting arbitrary SQL code.

Condition: magic_quotes_gpc = off


--------------PoC/Exploit----------------------
Available at: http://evuln.com/vulns/118/exploit.html

--------------Solution---------------------
No Patch available.

--------------Credit-----------------------
Discovered by: Aliaksandr Hartsuyeu (eVuln.com)


Regards,
Aliaksandr Hartsuyeu
http://evuln.com - Penetration Testing Services
.

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2020, SecurityGlobal.net LLC