CVE-2013-0159
published 2018-05-01CVE-2013-0159: The fedora-business-cards package before 1-0.1.beta1.fc17 on Fedora 17 and before 1-0.1.beta1.fc18 on Fedora 18 allows local users to cause a denial of service…
PriorityP427high7.1CVSS 3.0
AVLACLPRLUINSUCNIHAH
EPSS
0.34%
26.7th percentile
The fedora-business-cards package before 1-0.1.beta1.fc17 on Fedora 17 and before 1-0.1.beta1.fc18 on Fedora 18 allows local users to cause a denial of service or write to arbitrary files via a symlink attack on /tmp/fedora-business-cards-buffer.svg.
Affected
2 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
CVSS provenance
nvdv3.07.1HIGHCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
nvdv2.03.6LOWAV:L/AC:L/Au:N/C:N/I:P/A:P
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2013-0159 fedora-business-cards: insecure temporary file usage
bugzilla·2013-01-07·CVSS 7.1
CVE-2013-0159 [HIGH] CVE-2013-0159 fedora-business-cards: insecure temporary file usage
CVE-2013-0159 fedora-business-cards: insecure temporary file usage
Michael Scherer reported that the fedora-business-cards script used /tmp/fedora-business-cards-buffer.svg as a temporary file, which could be used in symlink attacks to overwrite the contents of a file with write permissions to the person running fedora-business-cards.
Discussion:
fedora-business-cards-1-0.1.beta1.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
Bugzilla
CVE-2013-0159 predictable file name used in /tmp to generate pdf output [fedora-all]
bugzilla·2013-01-06·CVSS 7.1
CVE-2013-0159 [HIGH] CVE-2013-0159 predictable file name used in /tmp to generate pdf output [fedora-all]
CVE-2013-0159 predictable file name used in /tmp to generate pdf output [fedora-all]
Created attachment 673347
use a proper temporary random filename, and clean file after
fedora-business-cards use a temporary file named /tmp/fedora-business-cards-buffer.svg.
Since /tmp is world writable, anyone could either block the script with a suitable file ( ie, the same filename, with restrictive permission ), or using symlink, could overwrite one of the file of someone else running the script ( ln -s ~yourlogin/.ssh/id_rsa.pub /tmp/fedora-business-cards-buffer.svg )
( for the record, the last case should be blocked on Linux with 3.6 and fs.protected_symlinks turned on ).
Here is a patch that should fix the issue against latest HEAD.
No CVE have been assigned so far, and AFAIK, packager is al
2018-05-01
Published