CVE-2008-2018 : Détail

CVE-2008-2018

A01-Broken Access Control
1.89%V4
Network
2008-04-29
23h00 +00:00
2017-09-28
10h57 +00:00
Notifications pour un CVE
Restez informé de toutes modifications pour un CVE spécifique.
Gestion des notifications

Descriptions du CVE

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.

Informations du CVE

Faiblesses connexes

CWE-ID Nom de la faiblesse 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.

Métriques

Métriques Score Gravité CVSS Vecteur Source
V2 4 AV:N/AC:L/Au:S/C:P/I:N/A:N nvd@nist.gov

EPSS

EPSS est un modèle de notation qui prédit la probabilité qu'une vulnérabilité soit exploitée.

Score EPSS

Le modèle EPSS produit un score de probabilité compris entre 0 et 1 (0 et 100 %). Plus la note est élevée, plus la probabilité qu'une vulnérabilité soit exploitée est grande.

Percentile EPSS

Le percentile est utilisé pour classer les CVE en fonction de leur score EPSS. Par exemple, une CVE dans le 95e percentile selon son score EPSS est plus susceptible d'être exploitée que 95 % des autres CVE. Ainsi, le percentile sert à comparer le score EPSS d'une CVE par rapport à d'autres CVE.

Informations sur l'Exploit

Exploit Database EDB-ID : 5506

Date de publication : 2008-04-25 22h00 +00:00
Auteur : YOUCODE
EDB Vérifié : 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

    Références

    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