CVE-2013-4472
NoneCVSS
—
EPSS
0.4%
Published
Apr 22, 2014
CISA due date
—
Cloudanix analysis
A local user on certain older systems can trick an application into overwriting important files by using shortcuts with guessable names, which may damage data or disrupt operations.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- Moderate
- Impact
- Data Tampering
- Component
- Application
- Class
- Path Traversal
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Local symlink attack in openTempFile that uses predictable temporary file names on non-Unix systems, allowing overwrite of arbitrary files.
Why it matters to the business
A local attacker can corrupt or replace critical files, leading to data loss, application instability, or potential privilege escalation; the issue affects 98 downstream packages including tensorflow deployments, though public exploitation remains negligible after many years.
How an attack unfolds
An attacker with local access predicts the temporary file name created by the vulnerable openTempFile routine, places a symlink pointing to a target file, and triggers the code path so the application writes through the link.
How to fix it
Upgrade tensorflow (Bitnami) to version 2.8.4 or later; for any remaining Xpdf or Poppler deployments on non-Unix platforms apply vendor patches that replace predictable temporary file creation with secure random names or atomic file operations.
How to confirm the fix worked
Verify the installed package version matches or exceeds the fixed release, review source or binary for replacement of openTempFile with a secure temporary-file implementation, and run regression tests that exercise temporary-file creation on the affected platform.
Typical attack path
- Obtain local shell access on a non-Unix system running the vulnerable library
- Predict or observe the predictable temporary file path used by openTempFile
- Create a symlink at that path pointing to a chosen target file
- Trigger the code path that opens and writes to the temporary file
- Observe or confirm overwrite of the target file
How to detect it
Examine local process execution and file-system audit logs around the time of suspected activity for creation of symlinks in temporary directories followed by unexpected writes to sensitive target files; correlate with application logs showing temp-file operations.
What your security team should do
- Immediately inventory all tensorflow (Bitnami) instances and schedule upgrade to 2.8.4
- Disable or sandbox any remaining non-Unix Xpdf/Poppler workloads until patched
- Add package-version checks to build and deployment pipelines to prevent re-introduction
- Monitor EPSS and KEV updates even though current scores and maturity are low
The record
The openTempFile function in goo/gfile.cc in Xpdf and Poppler 0.24.3 and earlier, when running on a system other than Unix, allows local users to overwrite arbitrary files via a symlink attack on temporary files with predictable names.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:10 | poppler | 0 | No fix |
| Debian:10 | xpdf | 0 | No fix |
| Debian:11 | poppler | 0 | No fix |
| Debian:11 | xpdf | 0 | No fix |
| Debian:12 | poppler | 0 | No fix |
| Debian:12 | xpdf | 0 | No fix |
| Debian:13 | poppler | 0 | No fix |
| Debian:13 | xpdf | 0 | No fix |
Related vulnerabilities
- CVE-2017-14518 In Poppler 0.59.0, a floating point exception exists in the… Also affects poppler
- CVE-2017-14517 In Poppler 0.59.0, a NULL Pointer Dereference exists in the XRef::parseEntry() function… Also affects poppler
- CVE-2017-2818 An exploitable heap overflow vulnerability exists in the image rendering functionality of… Also affects poppler
- CVE-2017-2820 An exploitable integer overflow vulnerability exists in the JPEG 2000 image parsing… Also affects poppler
- CVE-2017-2814 An exploitable heap overflow vulnerability exists in the image rendering functionality of… Also affects poppler
- CVE-2017-9083 poppler 0.54.0, as used in Evince and other products, has a NULL pointer dereference in… Also affects poppler
- CVE-2013-4474 Format string vulnerability in the extractPages function in utils/pdfseparate.cc in… Also affects poppler
- CVE-2013-4473 Stack-based buffer overflow in the extractPages function in utils/pdfseparate.cc in… Also affects poppler