myBloggie 2.1.6 HTML-injection and SQL Injection Vulnerabilities
2011-06-15T00:00:00
ID EDB-ID:35863 Type exploitdb Reporter Robin Verton Modified 2011-06-15T00:00:00
Description
myBloggie 2.1.6 HTML-injection and SQL Injection Vulnerabilities. Webapps exploit for php platform
source: http://www.securityfocus.com/bid/48317/info
myBloggie is prone to a SQL-injection vulnerabilities and an HTML-injection vulnerability because it fails to sufficiently sanitize user-supplied input.
An attacker may leverage these issues to compromise the application, access or modify data, exploit latent vulnerabilities in the underlying database, or execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may allow the attacker to steal cookie-based authentication credentials, control how the site is viewed, and launch other attacks.
myBloggie 2.1.6 is vulnerable; other versions may also be affected.
<?php
//trackback.php - Line 33 - 35
$url=urldecode($_REQUEST['url']);
if (validate_url($url)==false) { $tback->trackback_reply(1, "<p>Sorry, Trackback failed.. Reason : URL not valid</p>"); }
?>
<?php
//trackback.php - Line 750
function validate_url($url) {
if ( ! preg_match('#^http\\:\\/\\/[a-z0-9\-]+\.([a-z0-9\-]+\.)?[a-z]+#i', $url, $matches) ) {
return false;
} else {
return true;
}
}
?>
{"id": "EDB-ID:35863", "type": "exploitdb", "bulletinFamily": "exploit", "title": "myBloggie 2.1.6 HTML-injection and SQL Injection Vulnerabilities", "description": "myBloggie 2.1.6 HTML-injection and SQL Injection Vulnerabilities. Webapps exploit for php platform", "published": "2011-06-15T00:00:00", "modified": "2011-06-15T00:00:00", "cvss": {"score": 0.0, "vector": "NONE"}, "href": "https://www.exploit-db.com/exploits/35863/", "reporter": "Robin Verton", "references": [], "cvelist": [], "lastseen": "2016-02-04T02:10:16", "viewCount": 2, "enchantments": {"score": {"value": 0.4, "vector": "NONE", "modified": "2016-02-04T02:10:16", "rev": 2}, "dependencies": {"references": [], "modified": "2016-02-04T02:10:16", "rev": 2}, "vulnersScore": 0.4}, "sourceHref": "https://www.exploit-db.com/download/35863/", "sourceData": "source: http://www.securityfocus.com/bid/48317/info\r\n\r\nmyBloggie is prone to a SQL-injection vulnerabilities and an HTML-injection vulnerability because it fails to sufficiently sanitize user-supplied input.\r\n\r\nAn attacker may leverage these issues to compromise the application, access or modify data, exploit latent vulnerabilities in the underlying database, or execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may allow the attacker to steal cookie-based authentication credentials, control how the site is viewed, and launch other attacks.\r\n\r\nmyBloggie 2.1.6 is vulnerable; other versions may also be affected. \r\n\r\n<?php\r\n//trackback.php - Line 33 - 35\r\n$url=urldecode($_REQUEST['url']);\r\nif (validate_url($url)==false) { $tback->trackback_reply(1, \"<p>Sorry, Trackback failed.. Reason : URL not valid</p>\"); }\r\n\r\n?>\r\n\r\n\r\n<?php\r\n//trackback.php - Line 750\r\nfunction validate_url($url) {\r\n if ( ! preg_match('#^http\\\\:\\\\/\\\\/[a-z0-9\\-]+\\.([a-z0-9\\-]+\\.)?[a-z]+#i', $url, $matches) ) {\r\n return false;\r\n } else {\r\n return true; \r\n }\r\n} \r\n?>\r\n\r\n", "osvdbidlist": [], "immutableFields": []}