CVE-2010-1840

Apple Mac OS X 10.5.8 and 10.6.x < 10.6.5 - Remote Code Execution via Directory Services Password Validation

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2010-1840. PoCs published by Rodrigo Rubira.

AI-analyzed exploit summary This exploit demonstrates a memory corruption vulnerability in Apple's Directory Services utilities (chfn, chpass, chsh) when parsing a long string via the '-u' switch, leading to a crash. The vulnerability is confirmed in Mac OS X 10.5.8 and 10.6.2.

Description

Stack-based buffer overflow in the password-validation functionality in Directory Services in Apple Mac OS X 10.5.8 and 10.6.x before 10.6.5 allows remote attackers to execute arbitrary code or cause a denial of service (application crash) via unspecified vectors.

Exploits (1)

exploitdb WORKING POC VERIFIED
by Rodrigo Rubira · textdososx
https://www.exploit-db.com/exploits/15491

This exploit demonstrates a memory corruption vulnerability in Apple's Directory Services utilities (chfn, chpass, chsh) when parsing a long string via the '-u' switch, leading to a crash. The vulnerability is confirmed in Mac OS X 10.5.8 and 10.6.2.

Classification
Working Poc 90%
Attack Type
Dos
Complexity
Trivial
Reliability
Reliable
Target: Apple Mac OS X 10.5.8, 10.6.2 (chfn, chpass, chsh)
No auth needed
Prerequisites: Access to a vulnerable Mac OS X system with the affected binaries
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (3)

Core 3
Core References
Patch, Vendor Advisory x_refsource_confirm
http://support.apple.com/kb/HT4435
Third Party Advisory, VDB Entry vdb-entry x_refsource_sectrack
http://www.securitytracker.com/id?1024723
Vendor Advisory vendor-advisory x_refsource_apple
http://lists.apple.com/archives/security-announce/2010//Nov/msg00000.html

Scores

EPSS 0.0912
EPSS Percentile 94.6%

Details

CWE
CWE-119
Status published
Products (12)
apple/mac_os_x 10.5.8
apple/mac_os_x 10.6.0
apple/mac_os_x 10.6.1
apple/mac_os_x 10.6.2
apple/mac_os_x 10.6.3
apple/mac_os_x 10.6.4
apple/mac_os_x_server 10.5.8
apple/mac_os_x_server 10.6.0
apple/mac_os_x_server 10.6.1
apple/mac_os_x_server 10.6.2
... and 2 more
Published Nov 15, 2010
Tracked Since Feb 18, 2026