ID

VAR-200812-0356


CVE

CVE-2008-4221


TITLE

Apple Mac OS X strptime API Vulnerable to arbitrary code execution

Trust: 0.8

sources: JVNDB: JVNDB-2008-002215

DESCRIPTION

The strptime API in Libsystem in Apple Mac OS X before 10.5.6 allows context-dependent attackers to cause a denial of service (memory corruption and application crash) or execute arbitrary code via a crafted date string, related to improper memory allocation. Successfully exploiting this issue allows remote attackers to trigger denial-of-service conditions or to execute arbitrary code in the context of applications that use the API. This issue affects Mac OS X 10.4.11, 10.5 through 10.5.5, Server 10.4.11, and Server 10.5 through 10.5.5. Apple Mac OS X is prone to multiple security vulnerabilities that have been addressed in Security Update 2008-008. The security update addresses a total of 10 new vulnerabilities that affect the Apple Type Services, BOM, kernel, Libsystem, Managed Client, natd, and Podcast Producer components of Mac OS X. The advisory also contains security updates for 10 previously reported issues. This BID is being retired. The following individual records have been created to better document the issues: 32870 Apple Podcast Producer Authentication-Bypass Vulnerability 32872 Apple Mac OS X UDF ISO File Handling Denial of Service Vulnerability 32873 Apple Mac OS X NFS Mounted Executable Exception Remote Denial of Service Vulnerability 32874 Apple Mac OS X 'natd' Remote Denial of Service Vulnerability 32875 Apple Mac OS X Type Services PDF File Remote Denial of Service Vulnerability 32876 Apple Mac OS X BOM CPIO Header Stack Buffer Overflow Vulnerability 32877 Apple Mac OS X 'inet_net_pton' API Integer Overflow Vulnerability 32879 Apple Mac OS X 'i386_set_ldt' and '1386_get_ldt' Multiple Integer Overflow Vulnerabilities 32880 Apple Mac OS X Managed Client Screen Saver Lock Bypass Vulnerability 32881 Apple Mac OS X 'strptime' API Memory Corruption Vulnerability. 1) An infinite loop when processing certain embedded fonts in PDF files within the Apple Type Services server can be exploited to cause a DoS (Denial of Service) by e.g. tricking a user into opening a malicious PDF file. 2) A signedness error when handling certain CPIO archive headers exists within BOM. This can be exploited to execute arbitrary code by e.g. downloading or viewing a specially crafted CPIO archive. 3) An error within the processing of color spaces within CoreGraphics can be exploited to cause a heap-based buffer overflow by e.g. tricking a user into viewing a specially crafted image. Successful exploitation may allow the execution of arbitrary code. 4) Some security issues and vulnerabilities have been reported in Adobe Flash Player, which can be exploited by malicious people to bypass certain security restrictions, manipulate certain data, conduct cross-site scripting attacks, or disclose sensitive information. For more information: SA32270 5) Multiple integer overflows exist within the "i386_set_ldt()" and "i386_get_ldt()" system calls, which can be exploited by malicious, local users to execute arbitrary code with system privileges. Note: This does not affect PowerPC systems. 6) An infinite loop when handling exceptions in an application linked to libraries on an NFS share can be exploited to cause a system shutdown. 7) An integer overflow error exists in the "inet_net_pton()" API of Libsystem. This can potentially be exploited to e.g. compromise an application using the vulnerable function. passing a specially crafted date string to an application using the vulnerable function. 9) The "Managed Client" functionality does not always apply the managed screen saver settings correctly, potentially resulting in e.g. the screen saver lock not working as intended. 10) An infinite loop when processing certain TCP packets exists in natd, which can be exploited to cause a DoS by sending specially crafted TCP packets to a vulnerable system. Successful exploitation requires that Internet Sharing is enabled. 11) An unspecified error within the Podcast Producer server can be exploited to bypass the authentication mechanism and access administrative functions. 12) An unspecified error within the handling of malformed UDF volumes can be exploited to cause a system shutdown by e.g. opening a specially crafted ISO file. Additionally, this update enhances the CoreTypes "Download Validation" capability to detect and warn about more potentially dangerous file types. http://www.apple.com/support/downloads/ PROVIDED AND/OR DISCOVERED BY: 1) The vendor credits Michael Samarin and Mikko Vihonen, Futurice Ltd 2, 3, 8) Reported by the vendor. 5) The vendor credits Richard Vaneeden, IOActive, Inc 6) The vendor credits Ben Loer, Princeton University 9) The vendor credits John Barnes of ESRI and Trevor Lalish-Menagh of Tamman Technologies, Inc 10) The vendor credits Alex Rosenberg of Ohmantics and Gary Teter of Paizo Publishing 12) The vendor credits Mauro Notarianni of PCAX Solutions ORIGINAL ADVISORY: http://support.apple.com/kb/HT3338 OTHER REFERENCES: SA32270: http://secunia.com/advisories/32270/ ---------------------------------------------------------------------- About: This Advisory was delivered by Secunia as a free service to help everybody keeping their systems up to date against the latest vulnerabilities. Subscribe: http://secunia.com/advisories/secunia_security_advisories/ Definitions: (Criticality, Where etc.) http://secunia.com/advisories/about_secunia_advisories/ Please Note: Secunia recommends that you verify all advisories you receive by clicking the link. Secunia NEVER sends attached files with advisories. Secunia does not advise people to install third party patches, only use those supplied by the vendor. ---------------------------------------------------------------------- Unsubscribe: Secunia Security Advisories http://secunia.com/sec_adv_unsubscribe/?email=packet%40packetstormsecurity.org ---------------------------------------------------------------------- . I. II. Impact The impacts of these vulnerabilities vary. Potential consequences include arbitrary code execution, sensitive information disclosure, denial of service, or privilege escalation. III. These and other updates are available via Software Update or via Apple Downloads. IV. Please send email to <cert@cert.org> with "TA08-350A Feedback VU#901332" in the subject. ____________________________________________________________________ For instructions on subscribing to or unsubscribing from this mailing list, visit <http://www.us-cert.gov/cas/signup.html>. ____________________________________________________________________ Produced 2008 by US-CERT, a government organization. Terms of use: <http://www.us-cert.gov/legal.html> ____________________________________________________________________ Revision History December 15, 2008: Initial release -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iQEVAwUBSUbT5nIHljM+H4irAQLfMggAvH7VNoR3th5dBLhuq/f43ka1G5cecyAK g4gucF6+frxTfsVz2FGbawFdD/sAxAb/CnASFIkbuHItPwI526uy8MjXOmi/kYm2 ESZgD8U0OBtb2mqQRfhURz9sF97yVFhvHAZS3VOOCH85d1R6dr4ncxIWMGn2cgon Cjlll1WTx2BuMZO/AFn2UM7OooV9VVXtMht9D48X7i9bCWoU2W0mFSCHr+bJPE3d fI8v9+kyCQnjB3R9J+eGxmFClXl9PeMxOvsjPh/bQ8PpmAYMCH1Qp7vaSjjqSlVE ljRuyK8e6TIirse/RoK0YOwqBWudpgyJZvsV89ft9v55+a0l+2UlJw== =yvkk -----END PGP SIGNATURE-----

Trust: 2.43

sources: NVD: CVE-2008-4221 // JVNDB: JVNDB-2008-002215 // BID: 32881 // BID: 32839 // VULHUB: VHN-34346 // PACKETSTORM: 73081 // PACKETSTORM: 73037

AFFECTED PRODUCTS

vendor:applemodel:mac os xscope:eqversion:10.5.4

Trust: 1.6

vendor:applemodel:mac os xscope:eqversion:10.5

Trust: 1.6

vendor:applemodel:mac os xscope:eqversion:10.5.2

Trust: 1.6

vendor:applemodel:mac os xscope:eqversion:10.5.1

Trust: 1.6

vendor:applemodel:mac os xscope:eqversion:10.4.11

Trust: 1.6

vendor:applemodel:mac os x serverscope:eqversion:10.5.2

Trust: 1.6

vendor:applemodel:mac os x serverscope:eqversion:10.5.1

Trust: 1.6

vendor:applemodel:mac os x serverscope:eqversion:10.5

Trust: 1.6

vendor:applemodel:mac os x serverscope:eqversion:10.4.11

Trust: 1.6

vendor:applemodel:mac os xscope:eqversion:10.5.3

Trust: 1.6

vendor:applemodel:mac os xscope:lteversion:10.5.5

Trust: 1.0

vendor:applemodel:mac os x serverscope:lteversion:10.5.5

Trust: 1.0

vendor:applemodel:mac os x serverscope:eqversion:10.5.4

Trust: 1.0

vendor:applemodel:mac os x serverscope:eqversion:10.5.3

Trust: 1.0

vendor:applemodel:mac os xscope:eqversion:v10.4.11

Trust: 0.8

vendor:applemodel:mac os xscope:eqversion:v10.5 to v10.5.5

Trust: 0.8

vendor:applemodel:mac os x serverscope:eqversion:v10.4.11

Trust: 0.8

vendor:applemodel:mac os x serverscope:eqversion:v10.5 to v10.5.5

Trust: 0.8

vendor:applemodel:mac os serverscope:eqversion:x10.4.8

Trust: 0.6

vendor:applemodel:mac osscope:eqversion:x10.4.9

Trust: 0.6

vendor:applemodel:mac os serverscope:eqversion:x10.4.9

Trust: 0.6

vendor:applemodel:mac osscope:eqversion:x10.5.3

Trust: 0.6

vendor:applemodel:mac osscope:eqversion:x10.4.10

Trust: 0.6

vendor:applemodel:mac os serverscope:eqversion:x10.5.3

Trust: 0.6

vendor:applemodel:mac os serverscope:eqversion:x10.4.10

Trust: 0.6

vendor:applemodel:mac osscope:eqversion:x10.5.5

Trust: 0.6

vendor:applemodel:mac osscope:eqversion:x10.5

Trust: 0.6

vendor:applemodel:mac osscope:eqversion:x10.4

Trust: 0.6

vendor:applemodel:mac osscope:neversion:x10.5.6

Trust: 0.6

vendor:applemodel:mac osscope:eqversion:x10.4.5

Trust: 0.6

vendor:applemodel:mac os serverscope:eqversion:x10.5.5

Trust: 0.6

vendor:applemodel:mac os serverscope:eqversion:x10.5

Trust: 0.6

vendor:applemodel:mac osscope:eqversion:x10.5.4

Trust: 0.6

vendor:applemodel:mac os serverscope:eqversion:x10.4

Trust: 0.6

vendor:applemodel:mac os serverscope:neversion:x10.5.6

Trust: 0.6

vendor:applemodel:mac osscope:eqversion:x10.4.7

Trust: 0.6

vendor:applemodel:mac os serverscope:eqversion:x10.4.5

Trust: 0.6

vendor:applemodel:mac osscope:eqversion:x10.4.1

Trust: 0.6

vendor:applemodel:mac os serverscope:eqversion:x10.5.4

Trust: 0.6

vendor:applemodel:mac osscope:eqversion:x10.5.2

Trust: 0.6

vendor:applemodel:mac os serverscope:eqversion:x10.4.7

Trust: 0.6

vendor:applemodel:mac osscope:eqversion:x10.5.1

Trust: 0.6

vendor:applemodel:mac os serverscope:eqversion:x10.4.1

Trust: 0.6

vendor:applemodel:mac osscope:eqversion:x10.4.4

Trust: 0.6

vendor:applemodel:mac osscope:eqversion:x10.4.6

Trust: 0.6

vendor:applemodel:mac os serverscope:eqversion:x10.5.2

Trust: 0.6

vendor:applemodel:mac osscope:eqversion:x10.4.2

Trust: 0.6

vendor:applemodel:mac osscope:eqversion:x10.4.3

Trust: 0.6

vendor:applemodel:mac os serverscope:eqversion:x10.5.1

Trust: 0.6

vendor:applemodel:mac os serverscope:eqversion:x10.4.4

Trust: 0.6

vendor:applemodel:mac os serverscope:eqversion:x10.4.6

Trust: 0.6

vendor:applemodel:mac os serverscope:eqversion:x10.4.2

Trust: 0.6

vendor:applemodel:mac os serverscope:eqversion:x10.4.3

Trust: 0.6

vendor:applemodel:mac osscope:eqversion:x10.4.11

Trust: 0.6

vendor:applemodel:mac osscope:eqversion:x10.4.8

Trust: 0.6

vendor:applemodel:mac os serverscope:eqversion:x10.4.11

Trust: 0.6

sources: BID: 32881 // BID: 32839 // JVNDB: JVNDB-2008-002215 // CNNVD: CNNVD-200812-299 // NVD: CVE-2008-4221

CVSS

SEVERITY

CVSSV2

CVSSV3

nvd@nist.gov: CVE-2008-4221
value: HIGH

Trust: 1.0

NVD: CVE-2008-4221
value: HIGH

Trust: 0.8

CNNVD: CNNVD-200812-299
value: CRITICAL

Trust: 0.6

VULHUB: VHN-34346
value: HIGH

Trust: 0.1

nvd@nist.gov: CVE-2008-4221
severity: HIGH
baseScore: 10.0
vectorString: AV:N/AC:L/AU:N/C:C/I:C/A:C
accessVector: NETWORK
accessComplexity: LOW
authentication: NONE
confidentialityImpact: COMPLETE
integrityImpact: COMPLETE
availabilityImpact: COMPLETE
exploitabilityScore: 10.0
impactScore: 10.0
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 1.8

VULHUB: VHN-34346
severity: HIGH
baseScore: 10.0
vectorString: AV:N/AC:L/AU:N/C:C/I:C/A:C
accessVector: NETWORK
accessComplexity: LOW
authentication: NONE
confidentialityImpact: COMPLETE
integrityImpact: COMPLETE
availabilityImpact: COMPLETE
exploitabilityScore: 10.0
impactScore: 10.0
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 0.1

sources: VULHUB: VHN-34346 // JVNDB: JVNDB-2008-002215 // CNNVD: CNNVD-200812-299 // NVD: CVE-2008-4221

PROBLEMTYPE DATA

problemtype:CWE-399

Trust: 1.9

sources: VULHUB: VHN-34346 // JVNDB: JVNDB-2008-002215 // NVD: CVE-2008-4221

THREAT TYPE

network

Trust: 0.6

sources: BID: 32881 // BID: 32839

TYPE

resource management error

Trust: 0.6

sources: CNNVD: CNNVD-200812-299

CONFIGURATIONS

sources: JVNDB: JVNDB-2008-002215

PATCH

title:HT3338url:http://support.apple.com/kb/HT3338

Trust: 0.8

title:HT3338url:http://support.apple.com/kb/HT3338?viewlocale=ja_JP

Trust: 0.8

title:TA08-350Aurl:http://software.fujitsu.com/jp/security/vulnerabilities/ta08-350a.html

Trust: 0.8

sources: JVNDB: JVNDB-2008-002215

EXTERNAL IDS

db:NVDid:CVE-2008-4221

Trust: 2.8

db:USCERTid:TA08-350A

Trust: 2.6

db:SECUNIAid:33179

Trust: 2.6

db:VUPENid:ADV-2008-3444

Trust: 2.5

db:BIDid:32881

Trust: 2.0

db:BIDid:32839

Trust: 2.0

db:SECTRACKid:1021406

Trust: 1.7

db:USCERTid:SA08-350A

Trust: 0.8

db:JVNDBid:JVNDB-2008-002215

Trust: 0.8

db:CNNVDid:CNNVD-200812-299

Trust: 0.7

db:WWW.US-CERT.GOVid:TA08-350A

Trust: 0.6

db:APPLEid:APPLE-SA-2008-12-15

Trust: 0.6

db:VULHUBid:VHN-34346

Trust: 0.1

db:PACKETSTORMid:73081

Trust: 0.1

db:PACKETSTORMid:73037

Trust: 0.1

sources: VULHUB: VHN-34346 // BID: 32881 // BID: 32839 // JVNDB: JVNDB-2008-002215 // PACKETSTORM: 73081 // PACKETSTORM: 73037 // CNNVD: CNNVD-200812-299 // NVD: CVE-2008-4221

REFERENCES

url:http://www.us-cert.gov/cas/techalerts/ta08-350a.html

Trust: 2.5

url:http://secunia.com/advisories/33179

Trust: 2.5

url:http://support.apple.com/kb/ht3338

Trust: 2.4

url:http://www.vupen.com/english/advisories/2008/3444

Trust: 1.9

url:http://lists.apple.com/archives/security-announce//2008//dec/msg00000.html

Trust: 1.7

url:http://www.securityfocus.com/bid/32839

Trust: 1.7

url:http://www.securityfocus.com/bid/32881

Trust: 1.7

url:http://www.securitytracker.com/id?1021406

Trust: 1.7

url:http://cve.mitre.org/cgi-bin/cvename.cgi?name=cve-2008-4221

Trust: 0.8

url:http://jvn.jp/cert/jvnta08-350a/

Trust: 0.8

url:http://jvn.jp/tr/trta08-350a

Trust: 0.8

url:http://web.nvd.nist.gov/view/vuln/detail?vulnid=cve-2008-4221

Trust: 0.8

url:http://www.us-cert.gov/cas/alerts/sa08-350a.html

Trust: 0.8

url:http://www.frsirt.com/english/advisories/2008/3444

Trust: 0.6

url:http://software.cisco.com/download/navigator.html?mdfid=283613663

Trust: 0.3

url:http://www.apple.com/macosx/

Trust: 0.3

url:http://secunia.com/advisories/32270/

Trust: 0.1

url:http://secunia.com/advisories/secunia_security_advisories/

Trust: 0.1

url:http://www.apple.com/support/downloads/

Trust: 0.1

url:http://secunia.com/advisories/product/96/

Trust: 0.1

url:http://secunia.com/advisories/33179/

Trust: 0.1

url:http://secunia.com/advisories/business_solutions/

Trust: 0.1

url:http://secunia.com/sec_adv_unsubscribe/?email=packet%40packetstormsecurity.org

Trust: 0.1

url:http://secunia.com/advisories/about_secunia_advisories/

Trust: 0.1

url:https://support.apple.com/kb/ht3338>

Trust: 0.1

url:https://support.apple.com/kb/ht1338?viewlocale=en_us>

Trust: 0.1

url:http://www.us-cert.gov/legal.html>

Trust: 0.1

url:http://www.us-cert.gov/cas/techalerts/ta08-350a.html>

Trust: 0.1

url:http://support.apple.com/downloads/>

Trust: 0.1

url:http://www.us-cert.gov/cas/signup.html>.

Trust: 0.1

url:http://www.us-cert.gov/reading_room/securing_browser/>

Trust: 0.1

sources: VULHUB: VHN-34346 // BID: 32881 // BID: 32839 // JVNDB: JVNDB-2008-002215 // PACKETSTORM: 73081 // PACKETSTORM: 73037 // CNNVD: CNNVD-200812-299 // NVD: CVE-2008-4221

CREDITS

Michael Samarin Mikko Vihonen Richard Vaneeden Ben Loer

Trust: 0.6

sources: CNNVD: CNNVD-200812-299

SOURCES

db:VULHUBid:VHN-34346
db:BIDid:32881
db:BIDid:32839
db:JVNDBid:JVNDB-2008-002215
db:PACKETSTORMid:73081
db:PACKETSTORMid:73037
db:CNNVDid:CNNVD-200812-299
db:NVDid:CVE-2008-4221

LAST UPDATE DATE

2025-04-10T20:48:17.207000+00:00


SOURCES UPDATE DATE

db:VULHUBid:VHN-34346date:2011-03-08T00:00:00
db:BIDid:32881date:2008-12-17T21:11:00
db:BIDid:32839date:2008-12-17T21:21:00
db:JVNDBid:JVNDB-2008-002215date:2009-01-27T00:00:00
db:CNNVDid:CNNVD-200812-299date:2009-01-06T00:00:00
db:NVDid:CVE-2008-4221date:2025-04-09T00:30:58.490

SOURCES RELEASE DATE

db:VULHUBid:VHN-34346date:2008-12-17T00:00:00
db:BIDid:32881date:2008-12-15T00:00:00
db:BIDid:32839date:2008-12-15T00:00:00
db:JVNDBid:JVNDB-2008-002215date:2009-01-27T00:00:00
db:PACKETSTORMid:73081date:2008-12-16T06:45:46
db:PACKETSTORMid:73037date:2008-12-16T00:25:46
db:CNNVDid:CNNVD-200812-299date:2008-12-17T00:00:00
db:NVDid:CVE-2008-4221date:2008-12-17T01:30:00.390