Secunia CSI7
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading
Highly critical

chetcpasswd Multiple Vulnerabilities

-

Release Date:  2006-11-21    Last Update:  2006-12-22    Views:  10,302

Secunia Advisory SA22967

Where:

From remote

Impact:

Security Bypass, Exposure of system information, System access

Solution Status:

Partial Fix

Software:

CVE Reference(s):

Description


Some vulnerabilities have been discovered in chetcpasswd, which can be exploited by malicious people to bypass security restrictions, identify valid user accounts and potentially compromise vulnerable systems.

1) Input passed in the "X-Forwarded-For" HTTP header is trusted from all clients. This can be exploited to bypass IP address checks by connecting to chetcpasswd and passing arbitrary values in the header.

2) Different error messages are returned depending on whether an unsuccessful password change attempt is performed with a valid or invalid username.

3) Boundary errors exist within the "main()" function in chetcpasswd.c. This can be exploited to cause a heap-based buffer overflow by passing long "X-Forwarded-For" HTTP headers or running the program locally with long values in the "REMOTE_ADDR" environment variable.

Successful exploitation potentially allows for execution of arbitrary code as the root user. It doesn't require passing the IP address check, as the buffer overflow takes place before it.

It has also been reported that the product does not introduce delays after failed password change attempts, making dictionary attacks easier to perform.

The vulnerabilities are confirmed in version 2.3.3. Other versions may also be affected.


Solution:
Update to version 2.4, which fixes vulnerability #1 and #3.

Further details available to Secunia VIM customers

Provided and/or discovered by:
1+2) Bas Zoetekouw
3) João Eriberto Mota Filho

Original Advisory:
1+2) http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=394454

Deep Links:
Links available to Secunia VIM customers

Do you have additional information related to this advisory?

Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this information to vuln@secunia.com

Subject: chetcpasswd Multiple Vulnerabilities

No posts yet

-

You must be logged in to post a comment.



 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2014 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability