what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

aWebNews-1.0.txt

aWebNews-1.0.txt
Posted Jun 11, 2006
Authored by Federico Fazzi

aWebNews version 1.0 suffers from a remote file disclosure vulnerability.

tags | advisory, remote
SHA-256 | 5c9f5bc5d30352655a77d39b647d30e151e63b31a79dc8ad4003053833c675a7

aWebNews-1.0.txt

Change Mirror Download
*/ Federico Fazzi, <federico@autistici.org>
*/ aWebNews <= 1.0 (login.php) Remote DocumentRoot file disclosure
*/ 04/06/2006 5:48

login.php: line 64-68,

Bug:

-- start --
if ($_GET['page'] == "") {
$pagetogo = "index.php";
} else {
$pagetogo = $_GET['page'];
}
-- end --

Proof of concept:

Open the browser and go at:

http://example.org/aWebNews/login.php?page=/aWebNews/[some file]

now insert login and password and press enter.. now you can
read [some file] at documentroot master directory.

Patch:

--- login.php 2006-06-04 05:45:51.000000000 +0200
+++ login.php 2006-06-04 05:44:22.000000000 +0200
@@ -61,10 +61,8 @@
}
else
{
-if ($_GET['page'] == "") {
+if ($_GET['page'] != 'index.php') {
$pagetogo = "index.php";
-} else {
-$pagetogo = $_GET['page'];
}
?>
<div class="side-headline">Login </div><div align="center"><br>Your are logged in as:
<b><?=$_SESSION['Username'];?></b><br>Please <a href="<?=$_SERVER['PHP_SELF'];?>?mode=logout">Logout.</a><br>&nbsp;

*/ end of file

Login or Register to add favorites

File Archive:

August 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Aug 1st
    15 Files
  • 2
    Aug 2nd
    22 Files
  • 3
    Aug 3rd
    0 Files
  • 4
    Aug 4th
    0 Files
  • 5
    Aug 5th
    15 Files
  • 6
    Aug 6th
    11 Files
  • 7
    Aug 7th
    43 Files
  • 8
    Aug 8th
    42 Files
  • 9
    Aug 9th
    36 Files
  • 10
    Aug 10th
    0 Files
  • 11
    Aug 11th
    0 Files
  • 12
    Aug 12th
    27 Files
  • 13
    Aug 13th
    18 Files
  • 14
    Aug 14th
    50 Files
  • 15
    Aug 15th
    33 Files
  • 16
    Aug 16th
    23 Files
  • 17
    Aug 17th
    0 Files
  • 18
    Aug 18th
    0 Files
  • 19
    Aug 19th
    43 Files
  • 20
    Aug 20th
    29 Files
  • 21
    Aug 21st
    42 Files
  • 22
    Aug 22nd
    26 Files
  • 23
    Aug 23rd
    0 Files
  • 24
    Aug 24th
    0 Files
  • 25
    Aug 25th
    0 Files
  • 26
    Aug 26th
    0 Files
  • 27
    Aug 27th
    0 Files
  • 28
    Aug 28th
    0 Files
  • 29
    Aug 29th
    0 Files
  • 30
    Aug 30th
    0 Files
  • 31
    Aug 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close