Lucene search
K

phpizabi-disclose.txt

🗓️ 28 Apr 2008 00:00:00Reported by youcodeType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 136 Views

PHPizabi v0.848b C1 HFP3 database information exposure exploi

Code
`--------------------------------------------------------  
PHPizabi v0.848b C1 HFP3 database information exposure  
--------------------------------------------------------  
  
  
* I would like to state that I am in no way responsible for how this information is used.   
It is just that, information and is provided for informational purposes only.*  
  
  
  
An exploit exists in PHPizabi that allows a user using a specially crafted post to disclose  
user credentials as well as any other information within the database. Using the following  
format in a post to a users profile will disclose the corresponding field from that users  
entry in the database.  
  
FORMAT:  
  
{user.DATABASEFIELD}  
  
The breakdown:  
  
template.class.php function AssignUser lines 104-108  
  
if (is_array($user)) {  
foreach ($user as $code => $value) {  
Vulnerable code ----------> $this->Buffer = str_replace("{user.".$code."}", $value, $this->Buffer);  
}  
}  
  
What happens here is that as an array of database fields is processed, if {user.DATABASEFIELD} is  
found in the buffer it is overwritten with the corresponding value from the database. The  
buffer being processed is going to be output as the page. See where this is going? :)  
  
So the basic process is as this. Register on PHPizabi site, post a "comment" on the users  
profile whos credentials you want to obtain ie the admin. Being like so  
  
{user.password}  
  
When viewing the profile, click the comments tab and then click "View all comments". This will  
disclose the md5 hashed password from the database.  
  
Note this could work on older versions of the software too. Also any valid database field can  
be substituted for password in the above statement.  
  
  
  
--------------------------------------------------------  
by: YOUCODE --- [email protected]  
--------------------------------------------------------  
  
`

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