Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | POWER PHLOGGER v.2.2.5 (username) SQL Injection |
|---|---|
| Date: | 25 Jun 2007 08:47:55 -0000 |
POWER PHLOGGER v.2.2.5 (username) SQL Injection Author: Attila Gerendi (Darkz) Date: December 20, 2005 Package: POWER PHLOGGER (http://www.phpee.com/) Versions Affected: v.2.2.5 (Other versions may also be affected) Severity: SQL Injection Description: Input passed to the "username" parameter in "login.php" isn't properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code and bypass login sequence. This SQL injection is "blind" so the user can not produce variations in the server input however using BENCHMARK it still can be used to retrieve sensitive data from the database and/or heavily load the server and produce DDOS attack. The vulnerable code piece is in "/include/get_userdata.php" /* assign the user's values */ $sql = "SELECT * FROM ".PPHL_TBL_USERS." WHERE id='$id' OR username='$id'"; $res = mysql_query($sql); the vulnerable parameter at this point is $id and it is set trough session variable $username from login.php without any sanitation. Status: The product web page say: "Active development of PowerPhlogger has been stopped as of August 2006. The announced successor Phlogger3 will not be released. Also, I am not able to provide you with support for any previous version.", so any user using this version should correct the bug herself. Solution: modify /* assign the user's values */ $sql = "SELECT * FROM ".PPHL_TBL_USERS." WHERE id='$id' OR username='$id'"; $res = mysql_query($sql); to /* assign the user's values */ $id = mysql_escape_string($id); $sql = "SELECT * FROM ".PPHL_TBL_USERS." WHERE id='$id' OR username='$id'"; $res = mysql_query($sql);
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Ingres Unauthenticated Pointer Overwrite 1, NGSSoftware Insight Security Research |
|---|---|
| Next by Date: | Ingres stack overflow in uuid_from_char function, NGSSoftware Insight Security Research |
| Previous by Thread: | Ingres Unauthenticated Pointer Overwrite 1, NGSSoftware Insight Security Research |
| Next by Thread: | Ingres stack overflow in uuid_from_char function, NGSSoftware Insight Security Research |
| Indexes: | [Date] [Thread] [Top] [All Lists] |