CVE-2007-4129: Low severity redhat Enterprise Linux vulnerability

Published Aug 11, 2007
·
Updated

CoolKey 1.1.0 allows local users to overwrite arbitrary files via a symlink attack on temporary files in the /tmp/.pk11ipc1/ directory.

Other sources

Description of problem: It looks like coolkey creates /tmp/.pk11ipc1 as a world writable directory without the sticky bit. And...it creates the files under that potentially as world writable with the execute bit turned on or uses the file without any sanity check. coolkey runs as root sometimes and that makes it susceptible to doing symlink attacks.

Version-Release number of selected component (if applicable): coolkey-1.1.0-3

How reproducible: always

Steps to Reproduce: 1. ls -la /tmp | grep pk11ipc1

Actual results: drwxrwxrwx 2 root root 4096 2007-08-03 19:57 .pk11ipc1

Expected results: drwxrwxrwt 2 root root 4096 2007-08-03 19:57 .pk11ipc1

Additional info: Will attach a patch that starts to address the problem. But I'd say that after the mkdir, you'd want to opendir and check that the dir has the sticky bit set and set it if not, check that the dir is not a symlink with fstat, then use openat passing that dir fd to it, when the file is open check that its a regular file via fstat, and then use it. You may also want to check the owner ID and file perms too. I'm not sure what this apps really expects, but it needs to be more paranoid about what its opening and using.

Red Hat

Affected Software

5 affected componentsFixes available
redhat/coolkey<0:1.1.0-5.el5
0:1.1.0-5.el5
redhat Enterprise Linux=5.0
redhat Enterprise Linux=5.0
redhat Enterprise Linux=5.0
Fedoraproject Coolkey=1.1.0

Event History

Aug 11, 2007
Data Sourced
via Red Hat·01:16 AM
DescriptionSeverityAffected Software
Sep 6, 2007
CVE Published
via Red Hat·12:00 AM
Nov 8, 2007
Data Sourced
11:46 AM
DescriptionWeaknessAffected Software
CVE Published
via MITRE·04:00 PM
Data Sourced
via MITRE·04:00 PM
Description

Parent advisories

This vulnerability appears in the following advisories.

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-2007-4129?

CVE-2007-4129 has a medium severity rating due to the potential for local users to overwrite arbitrary files.

2

How do I fix CVE-2007-4129?

To fix CVE-2007-4129, update CoolKey to a version newer than 1.1.0 or apply any available security patches.

3

Who is affected by CVE-2007-4129?

CVE-2007-4129 affects local users on systems running CoolKey version 1.1.0.

4

What types of attacks are possible with CVE-2007-4129?

CVE-2007-4129 allows local users to conduct symlink attacks to overwrite arbitrary files.

5

When was CVE-2007-4129 disclosed?

CVE-2007-4129 was disclosed in 2007.

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