CVE-2010-2023: Race Condition

Published Jun 3, 2010
·
Updated

Dan Rosenberg reported that when exim is used with a world-writable mail directory, with the sticky-bit set, local users could create hard-links to other non-root users' files in the mailbox storage directory, causing files to be overwritten upon mail delivery. This could be used to create a denial of service condition or potentially escalate privileges to those of targeted users.

Further information is available from the upstream bug report [1] and this has been fixed upstream in exim 4.72 [2].

[1] http://bugs.exim.org/showbug.cgi?id=988 [2] http://vcs.exim.org/viewvc/exim/exim-src/src/transports/appendfile.c?r1=1.24&r2=1.25

The /var/spool/mail directory on Red Hat Enterprise Linux and Fedora is mode 0755 and owned root:mail. As a result, this is not exploitable by default.

Other sources

transports/appendfile.c in Exim before 4.72, when a world-writable sticky-bit mail directory is used, does not verify the stnlink field of mailbox files, which allows local users to cause a denial of service or possibly gain privileges by creating a hard link to another user's file.

MITRE

Affected Software

33 affected components
Exim Exim=4.70
Exim Exim=4.69
Exim Exim=4.66
Exim Exim=4.10
Exim Exim=4.24
Exim Exim=4.30
Exim Exim=4.21
Exim Exim=4.51
Exim Exim=4.67
Exim Exim=4.63
Exim Exim=4.43
Exim Exim=4.22
Exim Exim=4.40
Exim Exim=4.52
Exim Exim=4.60
Exim Exim=4.61
Exim Exim=4.68
Exim Exim=4.54
Exim Exim=4.23
Exim Exim=4.62
Exim Exim=4.32
Exim Exim=4.42
Exim Exim=4.31
Exim Exim=4.44
Exim Exim=4.64
Exim Exim=4.41
Exim Exim=4.20
Exim Exim=4.65
Exim Exim=4.53
Exim Exim=4.33
Exim Exim=4.50
Exim Exim<=4.71
Exim Exim=4.34

Event History

Jun 3, 2010
Data Sourced
via Red Hat·10:35 PM
DescriptionSeverityAffected Software
Jun 7, 2010
CVE Published
via MITRE·02:00 PM
Data Sourced
via MITRE·02:00 PM
Description
Data Sourced
via NVD·05:12 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2010-2023?

CVE-2010-2023 has a moderate severity rating as it can lead to denial of service due to file overwriting.

2

How do I fix CVE-2010-2023?

To fix CVE-2010-2023, ensure that the mail directory is not world-writable and does not have the sticky bit set.

3

Which versions of Exim are affected by CVE-2010-2023?

CVE-2010-2023 affects Exim versions up to and including 4.71.

4

Can CVE-2010-2023 be exploited remotely?

CVE-2010-2023 is primarily a local privilege escalation vulnerability, requiring local user access to exploit.

5

What impact does CVE-2010-2023 have on users?

CVE-2010-2023 can allow local users to overwrite files in other users' mailboxes, potentially leading to data loss.

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