ID

VAR-200705-0147


CVE

CVE-2007-0748


TITLE

Apple Darwin Streaming Proxy Vulnerable to heap-based buffer overflow

Trust: 0.8

sources: JVNDB: JVNDB-2007-001525

DESCRIPTION

Heap-based buffer overflow in Apple Darwin Streaming Proxy, when using Darwin Streaming Server before 5.5.5, allows remote attackers to execute arbitrary code via multiple trackID values in a SETUP RTSP request. An attacker can exploit these issues to execute arbitrary code with superuser privileges. Successfully exploiting this issue will result in the complete compromise of affected computers. Failed exploit attempts will result in a denial of service. These issues affect versions prior to 5.5.5. ---------------------------------------------------------------------- Try a new way to discover vulnerabilities that ALREADY EXIST in your IT infrastructure. Join the FREE BETA test of the Network Software Inspector (NSI)! http://secunia.com/network_software_inspector/ The NSI enables you to INSPECT, DISCOVER, and DOCUMENT vulnerabilities in more than 4,000 different Windows applications. SOLUTION: Update to version 5.5.5. http://developer.apple.com/opensource/server/streaming/index.html PROVIDED AND/OR DISCOVERED BY: An anonymous person, reported via iDefense Labs. ORIGINAL ADVISORY: Apple: http://docs.info.apple.com/article.html?artnum=305495 iDefense Labs: http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=533 ---------------------------------------------------------------------- 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/secunia_security_advisories/ Definitions: (Criticality, Where etc.) http://secunia.com/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 ---------------------------------------------------------------------- . BACKGROUND Darwin Streaming Server is a server technology that facilitates streaming of QuickTime data to clients across the Internet using the industry standard RTP and RTSP protocols. The Darwin Streaming Proxy is an application-specific proxy which would normally be run in a border zone or perimeter network. It is used to give client machines, within a protected network, access to streaming servers where the firewall blocks RTSP connections or RTP/UDP data flow. For more information, please visit the product website at via following URL. http://developer.apple.com/opensource/server/streaming/index.html II. Due to insufficient sanity checking, a stack-based buffer overflow could occur while trying to extract commands from the request buffer. The "is_command" function, located in proxy.c, lacks bounds checking when filling the 'cmd' and 'server' buffers. Additionally, a heap-based buffer overflow could occur while processing the "trackID" values contained within a "SETUP" request. If a request with more than 32 values is encountered, memory corruption will occur. III. No credentials are required for accessing the vulnerable code. The stack-based buffer overflow vulnerability relies on compiler optimizations. iDefense has verified the Darwin Streaming Proxy 4.1 binary release for Fedora Core is not vulnerable. The binary produced from a out-of-the-box compile on Fedora was confirmed vulnerable. IV. V. WORKAROUND Employ firewalls, access control lists or other TCP/UDP restriction mechanisms to limit access to vulnerable systems and services. VI. More information can be found from Apple's Security Update page or the Darwin Streaming Server advisory page at the respective URLs below. http://docs.info.apple.com/article.html?artnum=61798 http://docs.info.apple.com/article.html?artnum=305495 VII. CVE INFORMATION The Common Vulnerabilities and Exposures (CVE) project has assigned the name CVE-2007-0748 to the heap-based buffer overflow and CVE-2007-0749 to stack-based buffer overflow. These names are a candidate for inclusion in the CVE list (http://cve.mitre.org/), which standardizes names for security problems. VIII. DISCLOSURE TIMELINE 04/09/2007 Initial vendor notification 04/09/2007 Initial vendor response 05/10/2007 Coordinated public disclosure IX. CREDIT The discoverer of this vulnerability wishes to remain anonymous. Get paid for vulnerability research http://labs.idefense.com/methodology/vulnerability/vcp.php Free tools, research and upcoming events http://labs.idefense.com/ X. LEGAL NOTICES Copyright \xa9 2007 iDefense, Inc. Permission is granted for the redistribution of this alert electronically. It may not be edited in any way without the express written consent of iDefense. If you wish to reprint the whole or any part of this alert in any other medium other than electronically, please e-mail customerservice@idefense.com for permission. Disclaimer: The information in the advisory is believed to be accurate at the time of publishing based on currently available information. Use of the information constitutes acceptance for use in an AS IS condition. There are no warranties with regard to this information. Neither the author nor the publisher accepts any liability for any direct, indirect, or consequential loss or damage arising from use of, or reliance on, this information. _______________________________________________ Full-Disclosure - We believe in it. Charter: http://lists.grok.org.uk/full-disclosure-charter.html Hosted and sponsored by Secunia - http://secunia.com/

Trust: 2.16

sources: NVD: CVE-2007-0748 // JVNDB: JVNDB-2007-001525 // BID: 23918 // VULHUB: VHN-24110 // PACKETSTORM: 56675 // PACKETSTORM: 56658

AFFECTED PRODUCTS

vendor:applemodel:darwin streaming serverscope:eqversion:5.5.4

Trust: 1.9

vendor:applemodel:darwin streaming serverscope:eqversion:5.0.1

Trust: 1.9

vendor:applemodel:darwin streaming serverscope:eqversion:4.1.2

Trust: 1.9

vendor:applemodel:darwin streaming serverscope:eqversion:4.1.3

Trust: 1.3

vendor:applemodel:darwin streaming serverscope:ltversion:5.5.5

Trust: 0.8

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

Trust: 0.6

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

Trust: 0.6

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

Trust: 0.6

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

Trust: 0.6

vendor:applemodel:darwin streaming serverscope:neversion:5.5.5

Trust: 0.3

sources: BID: 23918 // JVNDB: JVNDB-2007-001525 // CNNVD: CNNVD-200705-247 // NVD: CVE-2007-0748

CVSS

SEVERITY

CVSSV2

CVSSV3

nvd@nist.gov: CVE-2007-0748
value: HIGH

Trust: 1.0

NVD: CVE-2007-0748
value: HIGH

Trust: 0.8

CNNVD: CNNVD-200705-247
value: CRITICAL

Trust: 0.6

VULHUB: VHN-24110
value: HIGH

Trust: 0.1

nvd@nist.gov: CVE-2007-0748
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-24110
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-24110 // JVNDB: JVNDB-2007-001525 // CNNVD: CNNVD-200705-247 // NVD: CVE-2007-0748

PROBLEMTYPE DATA

problemtype:NVD-CWE-Other

Trust: 1.0

sources: NVD: CVE-2007-0748

THREAT TYPE

remote

Trust: 0.7

sources: PACKETSTORM: 56658 // CNNVD: CNNVD-200705-247

TYPE

buffer overflow

Trust: 0.6

sources: CNNVD: CNNVD-200705-247

CONFIGURATIONS

sources: JVNDB: JVNDB-2007-001525

PATCH

title:APPLE-SA-2007-05-10url:http://lists.apple.com/archives/Security-announce/2007/May/msg00002.html

Trust: 0.8

sources: JVNDB: JVNDB-2007-001525

EXTERNAL IDS

db:NVDid:CVE-2007-0748

Trust: 2.9

db:BIDid:23918

Trust: 2.0

db:SECUNIAid:25193

Trust: 1.8

db:VUPENid:ADV-2007-1770

Trust: 1.7

db:SECTRACKid:1018047

Trust: 1.7

db:OSVDBid:35975

Trust: 1.7

db:JVNDBid:JVNDB-2007-001525

Trust: 0.8

db:CNNVDid:CNNVD-200705-247

Trust: 0.7

db:APPLEid:APPLE-SA-2007-05-10

Trust: 0.6

db:IDEFENSEid:20070510 APPLE DARWIN STREAMING PROXY MULTIPLE VULNERABILITIES

Trust: 0.6

db:XFid:34225

Trust: 0.6

db:VULHUBid:VHN-24110

Trust: 0.1

db:PACKETSTORMid:56675

Trust: 0.1

db:PACKETSTORMid:56658

Trust: 0.1

sources: VULHUB: VHN-24110 // BID: 23918 // JVNDB: JVNDB-2007-001525 // PACKETSTORM: 56675 // PACKETSTORM: 56658 // CNNVD: CNNVD-200705-247 // NVD: CVE-2007-0748

REFERENCES

url:http://docs.info.apple.com/article.html?artnum=305495

Trust: 2.2

url:http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=533

Trust: 2.1

url:http://lists.apple.com/archives/security-announce/2007/may/msg00002.html

Trust: 1.7

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

Trust: 1.7

url:http://osvdb.org/35975

Trust: 1.7

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

Trust: 1.7

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

Trust: 1.7

url:http://www.vupen.com/english/advisories/2007/1770

Trust: 1.1

url:https://exchange.xforce.ibmcloud.com/vulnerabilities/34225

Trust: 1.1

url:http://cve.mitre.org/cgi-bin/cvename.cgi?name=cve-2007-0748

Trust: 0.8

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

Trust: 0.8

url:http://www.frsirt.com/english/advisories/2007/1770

Trust: 0.6

url:http://xforce.iss.net/xforce/xfdb/34225

Trust: 0.6

url:http://developer.apple.com/darwin/projects/streaming/

Trust: 0.3

url:/archive/1/468303

Trust: 0.3

url:http://developer.apple.com/opensource/server/streaming/index.html

Trust: 0.2

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

Trust: 0.1

url:http://secunia.com/network_software_inspector/

Trust: 0.1

url:http://secunia.com/product/1146/

Trust: 0.1

url:http://secunia.com/product/3085/

Trust: 0.1

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

Trust: 0.1

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

Trust: 0.1

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

Trust: 0.1

url:https://nvd.nist.gov/vuln/detail/cve-2007-0749

Trust: 0.1

url:http://cve.mitre.org/),

Trust: 0.1

url:http://secunia.com/

Trust: 0.1

url:http://labs.idefense.com/intelligence/vulnerabilities/

Trust: 0.1

url:http://docs.info.apple.com/article.html?artnum=61798

Trust: 0.1

url:http://labs.idefense.com/methodology/vulnerability/vcp.php

Trust: 0.1

url:http://labs.idefense.com/

Trust: 0.1

url:http://lists.grok.org.uk/full-disclosure-charter.html

Trust: 0.1

url:https://nvd.nist.gov/vuln/detail/cve-2007-0748

Trust: 0.1

sources: VULHUB: VHN-24110 // BID: 23918 // JVNDB: JVNDB-2007-001525 // PACKETSTORM: 56675 // PACKETSTORM: 56658 // CNNVD: CNNVD-200705-247 // NVD: CVE-2007-0748

CREDITS

iDEFENSE

Trust: 0.6

sources: CNNVD: CNNVD-200705-247

SOURCES

db:VULHUBid:VHN-24110
db:BIDid:23918
db:JVNDBid:JVNDB-2007-001525
db:PACKETSTORMid:56675
db:PACKETSTORMid:56658
db:CNNVDid:CNNVD-200705-247
db:NVDid:CVE-2007-0748

LAST UPDATE DATE

2025-04-10T23:03:42.854000+00:00


SOURCES UPDATE DATE

db:VULHUBid:VHN-24110date:2017-07-29T00:00:00
db:BIDid:23918date:2007-05-11T17:09:00
db:JVNDBid:JVNDB-2007-001525date:2012-06-26T00:00:00
db:CNNVDid:CNNVD-200705-247date:2007-05-14T00:00:00
db:NVDid:CVE-2007-0748date:2025-04-09T00:30:58.490

SOURCES RELEASE DATE

db:VULHUBid:VHN-24110date:2007-05-13T00:00:00
db:BIDid:23918date:2007-05-10T00:00:00
db:JVNDBid:JVNDB-2007-001525date:2012-06-26T00:00:00
db:PACKETSTORMid:56675date:2007-05-12T02:30:02
db:PACKETSTORMid:56658date:2007-05-11T02:05:01
db:CNNVDid:CNNVD-200705-247date:2007-05-13T00:00:00
db:NVDid:CVE-2007-0748date:2007-05-13T22:19:00