Secunia CSI 5.0
Overview
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading

Secunia Advisory SA22967

chetcpasswd Multiple Vulnerabilities
Secunia Advisory SA22967
Get alerted and manage the vulnerability life cycle
Free Trial

Release Date 2006-11-21
Last Update 2006-12-22
   
Popularity 9,520 views
Comments 0 comments

Criticality level Highly criticalHighly critical
Impact Security Bypass
Exposure of system information
System access
Where From remote
Authentication level Available in Customer Area
   
Report reliability Available in Customer Area
Solution Status Partial Fix
   
Systems affected Available in Customer Area
Approve distribution Available in Customer Area
   
Software:
chetcpasswd 2.x

Secunia CVSS Score Available in Customer Area
CVE Reference(s) CVE-2006-6679 CVSS available in Customer Area
CVE-2006-6681 CVSS available in Customer Area
CVE-2006-6682 CVSS available in Customer Area
CVE-2006-6684 CVSS available in Customer Area
CVE-2006-6685 CVSS available in Customer Area
  

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 in Customer Area

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

Changelog
Further details available in Customer Area

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

Other references
Further details available in Customer Area

Deep Links
Links available in Customer Area


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 & Papers
Webinars
Events
 About us
Careers
Memberships
Newsroom


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