Cloudanix VulnDB

CVE-2012-1459

None

CVSS

—

EPSS

100.0%

Published

Mar 21, 2012

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Attend

Some older antivirus programs could be tricked by a specially made archive file so that hidden malware slipped through without being noticed.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Other
Component
Application
Class
Improper Input Validation
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

The TAR parser in affected antivirus engines fails to correctly validate entry length fields, allowing a crafted archive to hide malicious content by overlapping the next header so the scanner reports the file as clean.

Why it matters to the business

Organizations relying on the listed legacy antivirus products can receive malware that bypasses on-access and on-demand scans, increasing the chance of successful compromise and subsequent operational disruption.

How an attack unfolds

An attacker packages malware inside a TAR archive whose length fields are set so the malicious payload straddles two entries; the file is delivered via email attachment, web download or USB; the vulnerable scanner parses the archive without flagging the hidden content and therefore permits the file to reach the user or be executed.

How to fix it

Replace or upgrade every affected product to a current, supported version whose TAR parser has been corrected; where upgrades are impossible, isolate the systems and apply compensating controls such as application whitelisting and network segmentation.

How to confirm the fix worked

Re-scan known malicious test TAR files with the updated engine and confirm detection; review product release notes for explicit mention of corrected TAR handling; perform regression testing on sample archives that previously evaded detection.

Typical attack path

  1. Craft a TAR archive containing malicious payload with manipulated length fields
  2. Deliver the archive to the target via email, web site or removable media
  3. Victim system or gateway AV engine scans the archive
  4. Parser miscalculates entry boundaries and reports the file clean
  5. Malware is written to disk or executed without detection

How to detect it

Search mail and proxy logs for TAR files that were scanned yet later proved malicious; correlate with AV logs showing clean verdicts on archives that contain overlapping entry structures; look for post-scan execution of files whose names appear inside such archives.

What your security team should do

  • Inventory all endpoints and gateways running the listed legacy AV versions and prioritize replacement
  • Block inbound TAR archives at mail and web gateways until engines are updated
  • Enable additional detection layers (EDR, sandbox detonation) for archives
  • Monitor EPSS trend and threat-intel feeds for any renewed interest in this class of bypass

The record

The TAR file parser in AhnLab V3 Internet Security 2011.01.18.00, Avira AntiVir 7.11.1.163, Antiy Labs AVL SDK 2.0.3.7, avast! Antivirus 4.8.1351.0 and 5.0.677.0, AVG Anti-Virus 10.0.0.1190, Bitdefender 7.2, Quick Heal (aka Cat QuickHeal) 11.00, ClamAV 0.96.4, Command Antivirus 5.2.11.5, Comodo Antivirus 7424, Emsisoft Anti-Malware 5.1.0.1, F-Prot Antivirus 4.6.2.117, F-Secure Anti-Virus 9.0.16160.0, Fortinet Antivirus 4.2.254.0, G Data AntiVirus 21, Ikarus Virus Utilities T3 Command Line Scanner 1.1.97.0, Jiangmin Antivirus 13.0.900, K7 AntiVirus 9.77.3565, Kaspersky Anti-Virus 7.0.0.125, McAfee Anti-Virus Scanning Engine 5.400.0.1158, McAfee Gateway (formerly Webwasher) 2010.1C, Antimalware Engine 1.1.6402.0 in Microsoft Security Essentials 2.0, NOD32 Antivirus 5795, Norman Antivirus 6.06.12, nProtect Anti-Virus 2011-01-17.01, Panda Antivirus 10.0.2.7, PC Tools AntiVirus 7.0.3.5, Rising Antivirus 22.83.00.03, Sophos Anti-Virus 4.61.0, AVEngine 20101.3.0.103 in Symantec Endpoint Protection 11, Trend Micro AntiVirus 9.120.0.1004, Trend Micro HouseCall 9.120.0.1004, VBA32 3.12.14.2, and VirusBuster 13.6.151.0 allows remote attackers to bypass malware detection via a TAR archive entry with a length field corresponding to that entire entry, plus part of the header of the next entry. NOTE: this may later be SPLIT into multiple CVEs if additional information is published showing that the error occurred independently in different TAR parser implementations.

Affected packages

Ecosystem Package Introduced Fixed
Debian:10 clamav 0 0.97.5+dfsg-1
Debian:11 clamav 0 0.97.5+dfsg-1
Debian:12 clamav 0 0.97.5+dfsg-1
Debian:13 clamav 0 0.97.5+dfsg-1
openSUSE:Tumbleweed clamav 0 0.99.2-4.1

Related vulnerabilities