CVE-2012-3504: Low severity Fedoraproject Crypto-utils vulnerability

Published Aug 17, 2012
·
Updated

The genkey script, as provided in the crypto-utils package, suffers from poor temporary file handling. When executed, it writes to a file called 'list' in the current working directory, without first checking to see if the file exists. If an attacker were able to coerce the root user into running the genkey script from a specific directory containing a symbolic link, the linked file would be overwritten.

This flaw only exists in genkey as provided by Red Hat Enterprise Linux 6 and Fedora. Earlier versions of genkey, such as that provided with Red Hat Enterprise Linux 5 do not contain the vulnerable function (nssconfigFound()).

Other sources

The nssconfigFound function in genkey.pl in crypto-utils 2.4.1-34 allows local users to overwrite arbitrary files via a symlink attack on the "list" file in the current working directory.

Affected Software

1 affected component
Fedoraproject Crypto-utils=2.4.1-34

Event History

Aug 17, 2012
Data Sourced
08:37 PM
DescriptionSeverityAffected Software
Oct 10, 2012
CVE Published
via MITRE·06:00 PM
Data Sourced
via MITRE·06:00 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2012-3504?

CVE-2012-3504 has a moderate severity due to its potential for privilege escalation through poor temporary file handling.

2

How do I fix CVE-2012-3504?

To fix CVE-2012-3504, update the crypto-utils package to a version where the temporary file handling is addressed.

3

What systems are affected by CVE-2012-3504?

CVE-2012-3504 primarily affects systems running the crypto-utils version 2.4.1-34 from the Fedora project.

4

Can CVE-2012-3504 be exploited remotely?

CVE-2012-3504 requires local access to the system, making it less likely to be exploited remotely.

5

What is the impact of CVE-2012-3504?

The impact of CVE-2012-3504 includes the potential for an attacker to create or overwrite critical files, leading to denial of service or privilege escalation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203