Vulnerability in Christos Zoulas File
CVE-2013-7345
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.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 5.0 (Medium). Vector: AV:N/AC:L/Au:N/C:N/I:N/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.030, 87.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Christos Zoulas File
- PHP
- Debian Linux — versions 6.0, 7.0, 8.0
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (Live-Hack-CVE/CVE-2013-7345, Live-Hack-CVE/CVE-2014-3538). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/file/file/commit/ef2329cf71acb59204dd981e2c6cce6c81fe467c (Exploit, Patch, Third Party Advisory)
- bugs.debian.org/cgi-bin/bugreport.cgi (Third Party Advisory, Issue Tracking)
- bugs.gw.com/view.php (Exploit, Patch, Third Party Advisory, Issue Tracking, Broken Link)
- support.apple.com/kb/HT6443 (Third Party Advisory)
- RHSA-2014:1765 (vendor-advisory, Third Party Advisory)
- DSA-2873 (vendor-advisory, Third Party Advisory)