J-Security Center

Title: phpWebLog Administrator Authentication Bypass Vulnerability

Severity: MODERATE

Description:

phpWebLog is an Open Source web news management system, authored by Jason Hines. A problem exists which can allow users administrative access to the management interface.

The problem occurs in the common.inc.php script. The $CONF array in the common.inc.php script is incorrectly initialized, and transforms all values within the array to the first character of the last value, which is language. The authentication scheme uses the md5 hash of the Sitekey, which due to being contained in the $CONF variable, is set to the first letter of the language value. The authentication scheme additionally uses another md5 hash of the ROT-13 of the Sitekey as a cryptographic cookie. The combination of these problems creates a situation where it is possible for a malicious user to guess the Sitekey (normally the first letter of the language of the admin), produce a custom crafted password and cookie, and take administrative control of the message board.

Affected Products:

  • Jason Hines phpWebLog 0.4.2

Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.