Lucene search
K

phpip-sql.txt

🗓️ 28 Jan 2008 00:00:00Reported by Charles HooperType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 16 Views

phpIP 4.3.2 SQL injection vulnerabilities allow unauthorized administrative access and data disclosur

Code
`There exist numerous SQL injection vulnerabilities in phpIP 4.3.2, and  
probably previous versions. Most of the data obtained from the request  
variables ($_GET, $_POST, $_COOKIE, etc) is not sanitized before it is  
passed to MySQL. This may result in un-authorized administrative  
access to phpIp and read-access to the database, among other things.  
  
One such vulnerability allows an attacker to gain administrative  
access to the application, this does not require the attacker to  
already have access to an existing user account.  
  
Proof of concept:  
Go to the phpIP login page and enter a valid username ('phpip'  
typically works, if not try 'admin') with the following password:  
  
a') UNION SELECT 1,1,'Administrator',1,1,1,1,1 #  
  
At this point you will be logged in as an Administrator with the  
supplied username.  
  
There is also the risk of information disclosure through another SQL  
injection vulnerability found in display.php. The following PoC  
demonstrates a query that will echo a userid, username, MD5-hashed  
password, and email address to the page. You must be logged in to take  
advantage of this vulnerability (see above.)  
  
Proof of concept:  
http(s)://path/to/phpip/display.php?range=view&id=0%20UNION%20SELECT%20null,null,null,null,null,null,uid,username,password,email,null,null,null,null,null,null,null,null,null,null%20%20FROM%20users--&iprange=0&netid=0  
`

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

28 Jan 2008 00:00Current
7.4High risk
Vulners AI Score7.4
16