{"exploit":{"id":"EDB-22771","name":"Adobe Acrobat Reader (UNIX) 5.0 6 / Xpdf 0.9x Hyperlinks - Arbitrary Command Execution","description":"Adobe Acrobat Reader (UNIX) 5.0 6 / Xpdf 0.9x Hyperlinks - Arbitrary Command Execution","cves":["CVE-2003-0434"],"author":"Martyn Gilmore","published":"2003-06-13","platform":"linux","type":"remote","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/22771","path":"exploits/linux/remote/22771.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-22771.txt","vulnerabilities":[{"id":"CVE-2003-0434","state":"PUBLISHED","title":null,"titleSource":null,"description":"Various PDF viewers including (1) Adobe Acrobat 5.06 and (2) Xpdf 1.01 allow remote attackers to execute arbitrary commands via shell metacharacters in an embedded hyperlink.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2003-0434","cvss":{"version":"2.0","baseScore":7.5,"severity":"high","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2003-0434"},"updatedAt":"2024-08-08T01:50:48.159Z","retrievedAt":"2026-11-27T17:09:22.294Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-22771.png?v=2","url":"https://exploitbin.com/exploits/EDB-22771","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-22771/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-22771/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"source: https://web.archive.org/web/2003/https://www.securityfocus.com/bid/7912/info\n\nA vulnerability has been reported for multiple PDF viewers for Unix variant operating systems. The problem is said to occur when hyperlinks have been enabled within the viewer. Allegedly, by placing a specially formatted hyperlink within a PDF file it is possible to execute arbitrary shell commands when a user clicks the link. This is due to the PDF viewer invoking an external application, via a call to 'sh -c', to handle the request.\n\nSuccessful exploitation of this vulnerability could potentially allow an attacker to execute arbitrary commands on a target system with the privileges of the user invoking the PDF document.\n\nIt should be noted that this vulnerability may be similar to that described in BID 1624.\n\n----------------------------------------\n\n** Reports suggest that the fixes supplied by Red Hat and Mandrake Linux do not adequately fix the problem. Specifically, the fixes make changes to xpdf to filter out back quote characters. The problem lies in the fact that other shell metacharacters are not filtered. Thus it may still be possible for attackers to execute arbitrary commands. Red Hat has released updated advisories to correct this oversight.\n\n\\documentclass[11pt]{minimal}\n\\usepackage{color}\n\\usepackage[urlcolor=blue,colorlinks=true,pdfpagemode=none]{hyperref}\n\\begin{document}\n\\href{prot:hyperlink with stuff, say, `rm -rf /tmp/abc`; touch /tmp/pqr}{\\textt\\t{Click me}}\n\\end{document}","sha256":"cffdc22372c4e1105bb8aacca7773033c84643a3f38cb12f74685ee6b2c670f7","bytes":1504,"fetchedAt":"2026-11-27T17:09:16.047Z","encoding":"utf-8 (display only; download retains original bytes)"}