CVE-2013-7345
Christos Zoulas File vulnerability
The BEGIN regular expression in the awk script detector in magic/Magdir/commands in file before 5.15 uses multiple wildcards with unlimited repetitions, which allows context-dependent attackers to cause a denial of service (CPU consumption) via a crafted ASCII file that triggers a large amount of backtracking, as demonstrated via a file with many newline characters.
Affected products
File, Php, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Christos Zoulas File runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- bugs.gw.com/view.php?id=164 · Exploit
- github.com/file/file/commit/ef2329cf71acb59204dd981e2c6cce6c81fe467c · Exploit
- rhn.redhat.com/errata/RHSA-2014-1765.html · Third Party Advisory
- support.apple.com/kb/HT6443 · Third Party Advisory
- www.debian.org/security/2014/dsa-2873 · Third Party Advisory
- bugs.debian.org/cgi-bin/bugreport.cgi?bug=703993 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2013-7345
- cve.org/CVERecord?id=CVE-2013-7345
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.