ID

VAR-200712-0446


CVE

CVE-2007-5863


TITLE

Apple Mac OS X Man-in-the-middle attack arbitrary command execution vulnerability

Trust: 0.8

sources: JVNDB: JVNDB-2007-001066

DESCRIPTION

Software Update in Apple Mac OS X 10.5.1 allows remote attackers to execute arbitrary commands via a man-in-the-middle (MITM) attack between the client and the server, using a modified distribution definition file with the "allow-external-scripts" option. Successfully exploiting this issue in conjunction with other latent vulnerabilities may allow an attacker to execute arbitrary commands on affected computers, provided that the 'allow-external-scripts' option is enabled. There are loopholes in the implementation of the OS X software upgrade mechanism, and remote attackers may control the user system through fake upgrade sites. The OS X software upgrade mechanism uses "release packages", which consist of two main parts: an XML catalog file listing available upgrades; and a "release definition file" that contains XML and JavaScript-encoded information that defines what to expect when an upgrade is installed. content in all aspects. When OS X checks for new updates, it first contacts swscan.apple.com to receive an XML catalog file that references distribution definition files that may be located on other servers. After the software upgrade receives these files, it calls some other JavaScript function to check whether the update is suitable for the local machine. The above-mentioned files are transmitted through HTTP without any authentication. I. Further details are available in the related vulnerability notes. The update addresses vulnerabilities in other vendors' products that ship with Apple OS X or OS X Server. These products include: * Adobe Flash * Adobe Shockwave * GNU Tar II. Impact The impacts of these vulnerabilities vary. Potential consequences include arbitrary code execution, sensitive information disclosure, surreptitious video conference initiation, and denial of service. III. This and other updates are available via Software Update or via Apple Downloads. IV. Please send email to <cert@cert.org> with "TA07-352A Feedback VU#905292" in the subject. _________________________________________________________________ For instructions on subscribing to or unsubscribing from this mailing list, visit <http://www.us-cert.gov/cas/signup.html>. _________________________________________________________________ Produced 2007 by US-CERT, a government organization. Terms of use: <http://www.us-cert.gov/legal.html> _________________________________________________________________ Revision History December 18, 2007: Initial release -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iQEVAwUBR2hR0fRFkHkM87XOAQL7Egf+NvQEwnN2IGDdDwMEb9C2RDw58FXq0EMZ 7SRO8qbrM0c+G3apLFlmCCivWpGHqms2hzrSeon/Ym1YstHQOQeoJANmsHA3SyKz Wx8TIG10jEiAgytMuyrYjf0w3alXBEsDgXcu8FRc5Z4dg7osMPe7Lco7vVfMvoZG IpEEQu98zxh2p+Vhf1XKr9UfUnkD4O88rRAs+M1oDZd46GH+JvkYLgLCmkMSwIcs Vi4M7J+KHUBBkaMZYjnp+YqRwNDq9sGskVEOVDMk9OXw7VhAR7Kf8/zo9Tt1h3P0 h9JeMBHHb0M0MEtYHx/7JxpleXS3LtyiL0kDb9cbMjxU0kKK9SKb/Q== =Y1jd -----END PGP SIGNATURE----- . ---------------------------------------------------------------------- 2003: 2,700 advisories published 2004: 3,100 advisories published 2005: 4,600 advisories published 2006: 5,300 advisories published How do you know which Secunia advisories are important to you? The Secunia Vulnerability Intelligence Solutions allows you to filter and structure all the information you need, so you can address issues effectively. Get a free trial of the Secunia Vulnerability Intelligence Solutions: http://corporate.secunia.com/how_to_buy/38/vi/?ref=secadv ---------------------------------------------------------------------- TITLE: Apple Mac OS X Security Update Fixes Multiple Vulnerabilities SECUNIA ADVISORY ID: SA28136 VERIFY ADVISORY: http://secunia.com/advisories/28136/ CRITICAL: Highly critical IMPACT: Hijacking, Security Bypass, Cross Site Scripting, Exposure of system information, Exposure of sensitive information, Privilege escalation, DoS, System access WHERE: >From remote OPERATING SYSTEM: Apple Macintosh OS X http://secunia.com/product/96/ DESCRIPTION: Apple has issued a security update for Mac OS X, which fixes multiple vulnerabilities. 1) A format string error in the URL handler of Address Book can be exploited to execute arbitrary code when a user views a specially crafted web page. 2) An error in the handling of downloaded files in CFNetwork can be exploited via directory traversal attacks to automatically download files to arbitrary folders when a user is enticed to visit a specially crafted web page. 3) An unspecified error exists in ColorSync when processing images with an embedded ColorSync profile, which can be exploited to cause a memory corruption. Successful exploitation may allow execution of arbitrary code. 4) A race condition exists in the "CFURLWriteDataAndPropertiesToResource" API, which can lead to files being created with insecure permissions. 5) A boundary error exists in the printer driver for CUPS. This can be exploited to cause a buffer overflow and allows an admin user to execute arbitrary code with system privileges by passing a specially crafted URI to the CUPS service. 6) A boundary error in CUPS can be exploited by malicious people to compromise a vulnerable system. For more information: SA27233 7) An integer underflow error in the CUPS backend in the handling of SNMP responses can be exploited to cause a stack-based buffer overflow by sending a specially crafted SNMP response. Successful exploitation allows execution of arbitrary code, but requires that SNMP is enabled. 8) A boundary error in Desktop Services can be exploited to cause a heap-based buffer overflow when a user opens a directory containing a specially crafted .DS_Store file. Successful exploitation may allow execution of arbitrary code. 9) An input validation error in tar can be exploited by malicious people to compromise a user's system. For more information: SA26573 10) An unspecified error in iChat can be exploited by malicious people on the local network to initiate a video connection without the user's approval. 11) An unspecified error exists within IO Storage Family when handling GUID partition maps within a disk image. This can be exploited to execute arbitrary code when a user is enticed to open a specially crafted disk image. 12) Launch Services does not handle HTML files as potentially unsafe content. This can be exploited to disclose sensitive information or conduct cross-site scripting attacks by enticing a user to open a specially crafted HTML file. 13) A vulnerability in Mail in the handling of unsafe file types can be exploited to compromise a user's system. For more information: SA27785 14) An error in Mail can cause the application to default to SMTP plaintext authentication if the server supports only MD5 Challenge-Response authentication and plaintext authentication. 15) Some vulnerabilities in perl can be exploited by malicious people to compromise a vulnerable system. For more information: SA27546 16) A security issue in python can be exploited by malicious people to cause a DoS (Denial of Service) and potentially compromise a vulnerable system. For more information: SA26837 17) Plug-ins in Quick Look are not restricted from making network requests. This may lead to the disclosure of sensitive information when previewing an HTML file. 18) URLs contained in movie files may be accessed when creating an icon for a movie file or previewing a movie file using QuickLook. 19) Some security issues in ruby can be exploited by malicious people to conduct spoofing attacks. For more information: SA26985 20) Some vulnerabilities and a security issue in Ruby on Rails can be exploited by malicious people to disclose sensitive information or to conduct session fixation attacks. For more information: SA25699 SA27781 21) An error in Safari allows a page to navigate the subframes of any other page. This can be exploited to conduct cross-site scripting attacks and to disclose sensitive information when a user visits a specially crafted web page. 22) An unspecified error in Safari in the handling of RSS feeds can be exploited to cause a memory corruption and may allow execution of arbitrary code when a user accesses a specially crafted URL. 23) Some boundary errors in Samba can be exploited by malicious people to compromise a vulnerable system. For more information: SA27450 24) Some boundary errors in the Shockwave Plug-in can be exploited by malicious people to compromise a user's system. For more information: SA19218 25) A boundary error in the processing of command line arguments to "mount_smbfs" and "smbutil" can be exploited to cause a stack-based buffer overflow and execute arbitrary code with system privileges. Successful exploitation requires a MitM (Man-in-the-Middle) attack. 27) An error due to an insecure file operation exists in the handling of output files in SpinTracer. This may allow a malicious, local user to execute arbitrary code with system privileges. 28) An unspecified error exists in the Microsoft Office Spotlight Importer, which can be exploited to cause a memory corruption when a user downloads a specially crafted .xls file. Successful exploitation may allow execution of arbitrary code. 29) Some vulnerabilities in tcpdump can be exploited by malicious people to cause a DoS or to compromise a user's system. For more information: SA24318 SA26135 30) Some vulnerabilities exist the Perl Compatible Regular Expressions (PCRE) library used by XQuery, which can potentially be exploited to compromise a vulnerable system. For more information: SA27543 SOLUTION: Apply Security Update 2007-009. Security Update 2007-009 (10.4.11 Universal): http://www.apple.com/support/downloads/securityupdate200700910411universal.html Security Update 2007-009 (10.4.11 PPC): http://www.apple.com/support/downloads/securityupdate200700910411ppc.html Security Update 2007-009 (10.5.1): http://www.apple.com/support/downloads/securityupdate20070091051.html PROVIDED AND/OR DISCOVERED BY: 2) The vendor credits Sean Harding. 3) The vendor credits Tom Ferris, Adobe Secure Software Engineering Team (ASSET). 5) The vendor credits Dave Camp, Critical Path Software. 7) The vendor credits Wei Wang, McAfee Avert Labs. 12) The vendor credits Michal Zalewski, Google Inc. 13) The vendor credits Xeno Kovah, originally reported in Mac OS X 10.5 by heise Security. 15) The vendor credits Tavis Ormandy and Will Drewry, Google Security Team. 18) The vendor credits Lukhnos D. Liu, Lithoglyph Inc. 26) Moritz Jodeit. 27) The vendor credits Kevin Finisterre, DigitalMunition ORIGINAL ADVISORY: Apple: http://docs.info.apple.com/article.html?artnum=307179 OTHER REFERENCES: SA19218: http://secunia.com/advisories/19218/ SA24318: http://secunia.com/advisories/24318/ SA25699: http://secunia.com/advisories/25699/ SA26135: http://secunia.com/advisories/26135/ SA26573: http://secunia.com/advisories/26573/ SA26837: http://secunia.com/advisories/26837/ SA26985: http://secunia.com/advisories/26985/ SA27233: http://secunia.com/advisories/27233/ SA27450: http://secunia.com/advisories/27450/ SA27543: http://secunia.com/advisories/27543/ SA27546: http://secunia.com/advisories/27546/ SA27781: http://secunia.com/advisories/27781/ SA27785: http://secunia.com/advisories/27785/ ---------------------------------------------------------------------- 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 ----------------------------------------------------------------------

Trust: 2.16

sources: NVD: CVE-2007-5863 // JVNDB: JVNDB-2007-001066 // BID: 26908 // VULHUB: VHN-29225 // PACKETSTORM: 61950 // PACKETSTORM: 61915

AFFECTED PRODUCTS

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

Trust: 1.6

vendor:applemodel:mac os xscope:eqversion:10.5.1

Trust: 1.6

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

Trust: 0.8

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

Trust: 0.8

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

Trust: 0.3

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

Trust: 0.3

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

Trust: 0.3

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

Trust: 0.3

sources: BID: 26908 // JVNDB: JVNDB-2007-001066 // CNNVD: CNNVD-200712-222 // NVD: CVE-2007-5863

CVSS

SEVERITY

CVSSV2

CVSSV3

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

Trust: 1.0

NVD: CVE-2007-5863
value: HIGH

Trust: 0.8

CNNVD: CNNVD-200712-222
value: CRITICAL

Trust: 0.6

VULHUB: VHN-29225
value: HIGH

Trust: 0.1

nvd@nist.gov: CVE-2007-5863
severity: HIGH
baseScore: 9.3
vectorString: AV:N/AC:M/AU:N/C:C/I:C/A:C
accessVector: NETWORK
accessComplexity: MEDIUM
authentication: NONE
confidentialityImpact: COMPLETE
integrityImpact: COMPLETE
availabilityImpact: COMPLETE
exploitabilityScore: 8.6
impactScore: 10.0
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 1.8

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

Trust: 0.1

sources: VULHUB: VHN-29225 // JVNDB: JVNDB-2007-001066 // CNNVD: CNNVD-200712-222 // NVD: CVE-2007-5863

PROBLEMTYPE DATA

problemtype:CWE-310

Trust: 1.9

sources: VULHUB: VHN-29225 // JVNDB: JVNDB-2007-001066 // NVD: CVE-2007-5863

THREAT TYPE

remote

Trust: 0.6

sources: CNNVD: CNNVD-200712-222

TYPE

encryption problem

Trust: 0.6

sources: CNNVD: CNNVD-200712-222

CONFIGURATIONS

sources: JVNDB: JVNDB-2007-001066

EXPLOIT AVAILABILITY

sources: VULHUB: VHN-29225

PATCH

title:Security Update 2007-009url:http://docs.info.apple.com/article.html?artnum=307179-en

Trust: 0.8

title:Security Update 2007-009url:http://docs.info.apple.com/article.html?artnum=307179-ja

Trust: 0.8

title:TA07-352Aurl:http://software.fujitsu.com/jp/security/vulnerabilities/ta07-352a.html

Trust: 0.8

sources: JVNDB: JVNDB-2007-001066

EXTERNAL IDS

db:NVDid:CVE-2007-5863

Trust: 2.8

db:BIDid:26908

Trust: 2.8

db:USCERTid:TA07-352A

Trust: 2.6

db:SECUNIAid:28136

Trust: 2.6

db:VUPENid:ADV-2007-4238

Trust: 1.7

db:SECTRACKid:1019106

Trust: 1.7

db:XFid:39111

Trust: 1.4

db:USCERTid:SA07-352A

Trust: 0.8

db:SECTRACKid:1019108

Trust: 0.8

db:JVNDBid:JVNDB-2007-001066

Trust: 0.8

db:NSFOCUSid:11309

Trust: 0.6

db:BUGTRAQid:20071217 APPLE OS X SOFTWARE UPDATE REMOTE COMMAND EXECUTION

Trust: 0.6

db:CERT/CCid:TA07-352A

Trust: 0.6

db:APPLEid:APPLE-SA-2007-12-17

Trust: 0.6

db:CNNVDid:CNNVD-200712-222

Trust: 0.6

db:EXPLOIT-DBid:16867

Trust: 0.1

db:PACKETSTORMid:61889

Trust: 0.1

db:PACKETSTORMid:84529

Trust: 0.1

db:SEEBUGid:SSVID-88755

Trust: 0.1

db:SEEBUGid:SSVID-71365

Trust: 0.1

db:VULHUBid:VHN-29225

Trust: 0.1

db:PACKETSTORMid:61950

Trust: 0.1

db:PACKETSTORMid:61915

Trust: 0.1

sources: VULHUB: VHN-29225 // BID: 26908 // JVNDB: JVNDB-2007-001066 // PACKETSTORM: 61950 // PACKETSTORM: 61915 // CNNVD: CNNVD-200712-222 // NVD: CVE-2007-5863

REFERENCES

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

Trust: 2.5

url:http://www.us-cert.gov/cas/techalerts/ta07-352a.html

Trust: 2.5

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

Trust: 2.5

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

Trust: 1.8

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

Trust: 1.7

url:http://securitytracker.com/id?1019106

Trust: 1.7

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

Trust: 1.4

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

Trust: 1.4

url:http://www.securityfocus.com/archive/1/485237/100/0/threaded

Trust: 1.1

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

Trust: 1.1

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

Trust: 1.1

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

Trust: 0.8

url:http://jvn.jp/cert/jvnta07-352a/index.html

Trust: 0.8

url:http://jvn.jp/tr/trta07-352a/index.html

Trust: 0.8

url:http://nvd.nist.gov/nvd.cfm?cvename=cve-2007-5863

Trust: 0.8

url:http://securitytracker.com/id?1019108

Trust: 0.8

url:http://www.us-cert.gov/cas/alerts/sa07-352a.html

Trust: 0.8

url:http://www.securityfocus.com/archive/1/archive/1/485237/100/0/threaded

Trust: 0.6

url:http://www.nsfocus.net/vulndb/11309

Trust: 0.6

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

Trust: 0.3

url:/archive/1/485237

Trust: 0.3

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

Trust: 0.1

url:http://www.kb.cert.org/vuls/byid?searchview&query=apple-2007-009>

Trust: 0.1

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

Trust: 0.1

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

Trust: 0.1

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

Trust: 0.1

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

Trust: 0.1

url:http://www.us-cert.gov/cas/techalerts/ta07-352a.html>

Trust: 0.1

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

Trust: 0.1

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

Trust: 0.1

url:http://corporate.secunia.com/how_to_buy/38/vi/?ref=secadv

Trust: 0.1

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

Trust: 0.1

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

Trust: 0.1

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

Trust: 0.1

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

Trust: 0.1

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

Trust: 0.1

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

Trust: 0.1

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

Trust: 0.1

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

Trust: 0.1

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

Trust: 0.1

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

Trust: 0.1

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

Trust: 0.1

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

Trust: 0.1

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

Trust: 0.1

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

Trust: 0.1

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

Trust: 0.1

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

Trust: 0.1

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

Trust: 0.1

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

Trust: 0.1

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

Trust: 0.1

sources: VULHUB: VHN-29225 // BID: 26908 // JVNDB: JVNDB-2007-001066 // PACKETSTORM: 61950 // PACKETSTORM: 61915 // CNNVD: CNNVD-200712-222 // NVD: CVE-2007-5863

CREDITS

Moritz Jodeit moritz@jodeit.org

Trust: 0.6

sources: CNNVD: CNNVD-200712-222

SOURCES

db:VULHUBid:VHN-29225
db:BIDid:26908
db:JVNDBid:JVNDB-2007-001066
db:PACKETSTORMid:61950
db:PACKETSTORMid:61915
db:CNNVDid:CNNVD-200712-222
db:NVDid:CVE-2007-5863

LAST UPDATE DATE

2025-04-10T20:01:43.272000+00:00


SOURCES UPDATE DATE

db:VULHUBid:VHN-29225date:2018-10-15T00:00:00
db:BIDid:26908date:2007-12-18T23:31:00
db:JVNDBid:JVNDB-2007-001066date:2008-01-11T00:00:00
db:CNNVDid:CNNVD-200712-222date:2007-12-19T00:00:00
db:NVDid:CVE-2007-5863date:2025-04-09T00:30:58.490

SOURCES RELEASE DATE

db:VULHUBid:VHN-29225date:2007-12-19T00:00:00
db:BIDid:26908date:2007-12-17T00:00:00
db:JVNDBid:JVNDB-2007-001066date:2008-01-11T00:00:00
db:PACKETSTORMid:61950date:2007-12-20T00:43:04
db:PACKETSTORMid:61915date:2007-12-19T00:48:29
db:CNNVDid:CNNVD-200712-222date:2007-12-19T00:00:00
db:NVDid:CVE-2007-5863date:2007-12-19T21:46:00