lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <4485EBCD.90001@autistici.org>
Date: Tue, 06 Jun 2006 22:55:41 +0200
From: Federico Fazzi <federico@...istici.org>
To: bugtraq@...urityfocus.com
Subject: BloggIT <= 1.01 (admin.php) Arbitrary code execution


*/ Federico Fazzi, <federico@...istici.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");
 ?>



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ