CVE-2008-2018 : Detail

CVE-2008-2018

A01-Broken Access Control
1.89%V4
Network
2008-04-29
23h00 +00:00
2017-09-28
10h57 +00:00
Notifications for a CVE
Stay informed of any changes for a specific CVE.
Notifications manage

CVE Descriptions

The AssignUser function in template.class.php in PHPizabi 0.848b C1 HFP3 performs unsafe macro expansions on strings delimited by '{' and '}' characters, which allows remote authenticated users to obtain sensitive information via a comment containing a macro, as demonstrated by a "{user.password}" comment in the profile of the admin user.

CVE Informations

Related Weaknesses

CWE-ID Weakness Name Source
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.

Metrics

Metrics Score Severity CVSS Vector Source
V2 4 AV:N/AC:L/Au:S/C:P/I:N/A:N nvd@nist.gov

EPSS

EPSS is a scoring model that predicts the likelihood of a vulnerability being exploited.

EPSS Score

The EPSS model produces a probability score between 0 and 1 (0 and 100%). The higher the score, the greater the probability that a vulnerability will be exploited.

EPSS Percentile

The percentile is used to rank CVE according to their EPSS score. For example, a CVE in the 95th percentile according to its EPSS score is more likely to be exploited than 95% of other CVE. Thus, the percentile is used to compare the EPSS score of a CVE with that of other CVE.

Exploit information

Exploit Database EDB-ID : 5506

Publication date : 2008-04-25 22h00 +00:00
Author : YOUCODE
EDB Verified : Yes

-------------------------------------------------------- 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 --- icode00@gmail.com -------------------------------------------------------- # milw0rm.com [2008-04-26]

Products Mentioned

Configuraton 0

Phpizabi>>Phpizabi >> Version 0.848b

    References

    http://www.securityfocus.com/bid/28954
    Tags : vdb-entry, x_refsource_BID
    https://www.exploit-db.com/exploits/5506
    Tags : exploit, x_refsource_EXPLOIT-DB