1. Skip to navigation
  2. Skip to content
  3. Skip to secondary-content




PHP Shop "admin_username" SQL Injection Vulnerability

Report ID: SA32583
Source: Secunia
Date of Discovery: 11.11.2008
Criticality: Moderate
Affects:
PHP Shop 1.x

Compromise From: From remote
Compromise Type: Exposure of sensitive information
Manipulation of data

Summary

A vulnerability in PHP Shop, which can be exploited by malicious people to conduct SQL injection attacks.

Detailed Description

A vulnerability in PHP Shop, which can be exploited by malicious people to conduct SQL injection attacks.

Input passed to the "admin_username" parameter in login.php is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

This vulnerability is reported in version 1.0. Other versions may also be affected.

Solution

Edit the source code to ensure that input is properly sanitised.