Test case 17969
myBloggie 2.1.6 SQL injection, corresponding to CVE-2007-1899.
Vulnerability summary
Multiple SQL injection vulnerabilities in myWebland myBloggie 2.1.6 allow remote attackers to execute arbitrary SQL commands via (1) the user_id parameter in a viewuser action to index.php, and allow remote authenticated administrators to execute arbitrary SQL commands via (2) the post_id parameter in an edit action to admin.php.
What this test case checks
myWebland myBloggie 2.1.6 fails to sanitize the user_id parameter in a viewuser action to index.php (unauthenticated) and the post_id parameter in an edit action to admin.php (authenticated administrator). Either input flows into a SQL query without escaping, permitting arbitrary SQL execution. The unauthenticated path is the more interesting one because it exposes the database to anyone who can reach the index page.