Executive Summary



This Alert is flagged as TOP 25 Common Weakness Enumeration from CWE/SANS. For more information, you can read this.
Summary
Title PHP Address Book sqli vulnerability
Informations
Name VU#183692 First vendor Publication 2013-04-05
Vendor VU-CERT Last vendor Modification 2013-04-05
Severity (Vendor) N/A Revision M

Security-Database Scoring CVSS v3

Cvss vector : N/A
Overall CVSS Score NA
Base Score NA Environmental Score NA
impact SubScore NA Temporal Score NA
Exploitabality Sub Score NA
 
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector : (AV:N/AC:L/Au:N/C:P/I:P/A:P)
Cvss Base Score 7.5 Attack Range Network
Cvss Impact Score 6.4 Attack Complexity Low
Cvss Expoit Score 10 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

Vulnerability Note VU#183692

PHP Address Book sqli vulnerability

Original Release date: 05 Apr 2013 | Last revised: 05 Apr 2013

Overview

PHP Address Book web application is vulnerable to multiple sqli injection vulnerabilities.

Description

CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

PHP Address Book 8.2.5 and possibly older versions fail to sanitize input from multiple functions.
http://www.example.com/addressbook/register/checklogin.php?username={insert}&password=pass
http://www.example.com/addressbook/register/admin_index.php?q={insert}
http://www.example.com/addressbook/register/delete_user.php?id={insert}
http://www.example.com/addressbook/register/edit_user.php?id={insert}

Additional information on vulnerable functions can be found at Acadion Security advisory.

Impact

A remote unauthenticated attacker may be able to run a subset of SQL commands against the back-end database.

Solution

We are currently unaware of a practical solution to this problem.

Restrict access

As a general good security practice, only allow connections from trusted hosts and networks. Note that restricting access does not prevent SQLi attacks since the attack comes as an SQL request from a legitimate user's host. Restricting access would prevent an attacker from accessing a web interface using stolen credentials from a blocked network location.

Vendor Information (Learn More)

VendorStatusDate NotifiedDate Updated
PHP Address BookAffected-03 Apr 2013
If you are a vendor and your product is affected, let us know.

CVSS Metrics (Learn More)

GroupScoreVector
Base9.0AV:N/AC:L/Au:N/C:C/I:P/A:P
Temporal6.5E:U/RL:W/RC:UC
Environmental1.7CDP:L/TD:L/CR:ND/IR:ND/AR:ND

References

  • http://cwe.mitre.org/data/definitions/89.html
  • http://sourceforge.net/projects/php-addressbook/
  • http://www.acadion.nl/labs/advisory/20130203-phpaddressbook.html

Credit

Thanks to Jurgen Voorneveld of Acadion Security for reporting this vulnerability.

This document was written by Michael Orlando.

Other Information

  • CVE IDs:CVE-2013-0135
  • Date Public:05 Apr 2013
  • Date First Published:05 Apr 2013
  • Date Last Updated:05 Apr 2013
  • Document Revision:15

Feedback

If you have feedback, comments, or additional information about this vulnerability, please send us email.

Original Source

Url : http://www.kb.cert.org/vuls/id/183692

CWE : Common Weakness Enumeration

% Id Name
100 % CWE-89 Improper Sanitization of Special Elements used in an SQL Command ('SQL Injection') (CWE/SANS Top 25)

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 1

Alert History

If you want to see full details history, please login or register.
0
1
2
3
Date Informations
2013-05-11 05:18:25
  • Multiple Updates
2013-04-09 21:20:19
  • Multiple Updates
2013-04-09 13:20:17
  • Multiple Updates
2013-04-05 21:17:36
  • First insertion