J-Security Center

Title: Geeklog Forgot Password SQL Injection Vulnerability

Severity: HIGH

Description:

Geeklog is open-source weblog software. It is written in PHP and will run on most Unix and Linux variants, as well as Microsoft Windows operating systems.

An SQL injection vulnerability has been reported in the Geeklog "forgot password" feature (introduced in Geeklog 1.3.8). This feature allows for user passwords to be reset.

Due to insufficient sanitization of user-supplied input, it is possible for remote attacks to influence database queries. In particular, a SELECT query is made by the software when a user attempts to use the feature to change a password. It is possible for a remote attacker to include malicious SQL syntax as an argument for the $rid variable, which represents the requesting user's ID. It has been demonstrated that this could be exploited to reset any user's password, including the administrator.

Due to the nature of this vulnerability, direct attacks against the database are also possible such as manipulating queries to disclose sensitive information or attempts to exploit latent vulnerabilities in the database itself.

Affected Products:

  • Geeklog Geeklog 1.3.8
  • Geeklog Geeklog 1.3.8 -1
  • Geeklog Geeklog 1.3.8 -1sr1
  • Geeklog Geeklog 1.3.8 rc1
  • Geeklog Geeklog 1.3.8 rc2

References:

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.