2.6
CWE
NVD-CWE-Other 362
Advisory Published
Updated

CVE-2007-0895: Race Condition

First published: Tue Feb 13 2007(Updated: )

Race condition in recursive directory deletion with the (1) -r or (2) -R option in rm in Solaris 8 through 10 before 20070208 allows local users to delete files and directories as the user running rm by moving a low-level directory to a higher level as it is being deleted, which causes rm to chdir to a ".." directory that is higher than expected, possibly up to the root file system, a related issue to CVE-2002-0435.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Sun SunOS=5.8
Oracle Solaris and Zettabyte File System (ZFS)=10.0
Oracle Solaris and Zettabyte File System (ZFS)=9.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2007-0895?

    CVE-2007-0895 is considered a medium severity vulnerability due to its potential for local privilege escalation.

  • How do I fix CVE-2007-0895?

    To fix CVE-2007-0895, ensure you update the Solaris systems to a version released after 20070208 to mitigate the risk.

  • Who is affected by CVE-2007-0895?

    CVE-2007-0895 affects local users on Solaris 8, 9, and 10 systems that use the recursive deletion feature of the rm command.

  • What is the exploit method for CVE-2007-0895?

    The exploit method for CVE-2007-0895 involves manipulating the rm command's directory deletion process to delete files as a different user.

  • Can CVE-2007-0895 be exploited remotely?

    No, CVE-2007-0895 cannot be exploited remotely as it requires local access to the vulnerable Solaris systems.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203