|
chetcpasswd Multiple Vulnerabilities
|
|
Secunia Advisory:
|
SA22967
|
|
|
Release Date:
|
2006-11-21
|
|
Last Update:
|
2006-12-22
|
|
Popularity:
|
6,503 views
|
|
|
Critical:
|
 Highly critical
|
|
Impact:
|
Security Bypass Exposure of system information System access
|
|
Where:
|
From remote
|
|
Solution Status:
|
Partial Fix
|
|
| Software: | chetcpasswd 2.x
|
|
|
Subscribe:
|
Instant alerts on relevant vulnerabilities
|
|
| CVE reference: | CVE-2006-6679 CVE-2006-6681 CVE-2006-6682 CVE-2006-6684 CVE-2006-6685
|
|
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.
Restrict access to chetcpasswd (e.g. with ".htaccess").
Provided and/or discovered by: 1+2) Bas Zoetekouw
3) João Eriberto Mota Filho
Changelog: 2006-11-22: Added information about additional vulnerability. Updated "Solution" section.
2006-12-22: Added CVE reference.
Original Advisory: 1+2) http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=394454
Other References: 3) http://sarg.sourceforge.net/chetcpasswd.ChangeLog.txt
|
|
|
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.
|