OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
[SA20800] Hashcash "array_push" Buffer Overflow Vulnerability

From: Secunia Security Advisories (sec-advsecunia.com)
Date: Tue Jun 27 2006 - 09:32:05 CDT


----------------------------------------------------------------------

Want to join the Secunia Security Team?

Secunia offers a position as a security specialist, where your daily
work involves reverse engineering of software and exploit code,
auditing of source code, and analysis of vulnerability reports.

http://secunia.com/secunia_security_specialist/

----------------------------------------------------------------------

TITLE:
Hashcash "array_push" Buffer Overflow Vulnerability

SECUNIA ADVISORY ID:
SA20800

VERIFY ADVISORY:
http://secunia.com/advisories/20800/

CRITICAL:
Moderately critical

IMPACT:
DoS, System access

WHERE:
From remote

SOFTWARE:
Hashcash 1.x
http://secunia.com/product/4743/

DESCRIPTION:
A vulnerability has been reported in Hashcash, which can be exploited
by malicious people to cause a DoS (Denial of Service) and potentially
to compromise a vulnerable system.

The vulnerability is caused due to an memory allocation error within
the "array_push()" function in hashcash.c. This can potentially be
exploited to cause a heap-based buffer overflow via a large number of
"-r" or "-j" command line options passed to the application, or via a
large number of resource names passed to the application with it is
run with the "-m" option.

Successful exploitation requires that the application is configured
to accept command line options or resource names from non-trusted
sources.

The vulnerability has been reported in version 1.20. Prior versions
may also be affected.

SOLUTION:
Update to version 1.21 or later.
http://www.hashcash.org/

PROVIDED AND/OR DISCOVERED BY:
The vendor credits Andreas Seltenreich.

ORIGINAL ADVISORY:
http://www.hashcash.org/source/CHANGELOG

----------------------------------------------------------------------

About:
This Advisory was delivered by Secunia as a free service to help
everybody keeping their systems up to date against the latest
vulnerabilities.

Subscribe:
http://secunia.com/secunia_security_advisories/

Definitions: (Criticality, Where etc.)
http://secunia.com/about_secunia_advisories/

Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.

----------------------------------------------------------------------

Unsubscribe: Secunia Security Advisories

----------------------------------------------------------------------