TITLE:
PEAR Archive_Tar Directory Traversal Vulnerability

SECUNIA ADVISORY ID:
SA19011

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

CRITICAL:
Less critical

IMPACT:
System access

WHERE:
>From remote

SOFTWARE:
PEAR Archive_Tar 1.x
http://secunia.com/product/8344/

DESCRIPTION:
Hamid Ebadi has discovered a vulnerability in PEAR Archive_Tar, which
potentially can be exploited by malicious people to compromise a
user's system.

The vulnerability is caused due to an input validation error when
extracting TAR files. This makes it possible to have files extracted
to arbitrary locations outside the specified directory using the
"../" directory traversal sequence.

The vulnerability has been confirmed in version 1.3.1 and reported in
version 1.2. Other versions may also be affected.

SOLUTION:
Do not extract untrusted TAR files.

To reduce the risk, never extract files as a root user.

PROVIDED AND/OR DISCOVERED BY:
Hamid Ebadi

ORIGINAL ADVISORY:
http://hamid.ir/security/phptar.txt

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

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
http://secunia.com/sec_adv_unsubscribe/?email=packet%40packetstormsecurity.org

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