CVE-2024-6760: ktrace(2) fails to detach when executing a setuid binary

Published Aug 11, 2024
·
Updated

A logic bug in the code which disables kernel tracing for setuid programs meant that tracing was not disabled when it should have, allowing unprivileged users to trace and inspect the behavior of setuid programs.

The bug may be used by an unprivileged user to read the contents of files to which they would not otherwise have access, such as the local password database.

Affected Software

19 affected components
FreeBSD FreeBSD<13.0
FreeBSD FreeBSD>=13.1<13.3
FreeBSD FreeBSD=13.3-p1
FreeBSD FreeBSD=13.3-p2
FreeBSD FreeBSD=13.3-p3
FreeBSD FreeBSD=13.3-p4
FreeBSD FreeBSD=14.0-beta5
FreeBSD FreeBSD=14.0-p1
FreeBSD FreeBSD=14.0-p2
FreeBSD FreeBSD=14.0-p3
FreeBSD FreeBSD=14.0-p4
FreeBSD FreeBSD=14.0-p5
FreeBSD FreeBSD=14.0-p6
FreeBSD FreeBSD=14.0-p7
FreeBSD FreeBSD=14.0-p8
FreeBSD FreeBSD=14.0-rc3
FreeBSD FreeBSD=14.0-rc4-p1
FreeBSD FreeBSD=14.1-p1
FreeBSD FreeBSD=14.1-p2

Event History

Aug 11, 2024
CVE Published
via MITRE·02:40 AM
Data Sourced
via MITRE·02:40 AM
Description
Aug 12, 2024
Data Sourced
via NVD·01:38 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-2024-6760?

CVE-2024-6760 is rated as a moderate severity vulnerability due to the potential exposure of sensitive information by unprivileged users.

2

How do I fix CVE-2024-6760?

To fix CVE-2024-6760, update to an unaffected version of FreeBSD, specifically any version beyond 13.3 or 14.0-p8.

3

Who is affected by CVE-2024-6760?

CVE-2024-6760 affects FreeBSD versions up to 13.3 and 14.0 up to 14.0-p8.

4

What is the impact of CVE-2024-6760?

The impact of CVE-2024-6760 allows unprivileged users to trace and inspect the behavior of setuid programs, potentially exposing sensitive data.

5

Can CVE-2024-6760 be exploited remotely?

CVE-2024-6760 requires local access, thus it cannot be directly exploited remotely without a prior compromise.

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