| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.6 | $0-$5k | 0.00 |
Summary
A vulnerability categorized as critical has been discovered in PhpWebGallery. This impacts an unknown function of the file comments.php. Such manipulation of the argument image_id leads to sql injection. This vulnerability is documented as CVE-2005-4228. The attack can be executed remotely. Additionally, an exploit exists.
Details
A vulnerability was found in PhpWebGallery (Photo Gallery Software). It has been rated as critical. Affected by this issue is an unknown functionality of the file comments.php. The manipulation of the argument image_id with an unknown input leads to a sql injection vulnerability. Using CWE to declare the problem leads to CWE-89. The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Impacted is confidentiality, integrity, and availability. CVE summarizes:
Multiple SQL injection vulnerabilities in PhpWebGallery 1.5.1 and earlier allow remote attackers to execute arbitrary SQL commands via the (1) since, (2) sort_by, and (3) items_number parameters to comments.php, (4) the search parameter to category.php, and (5) image_id parameter to picture.php. NOTE: it was later reported that the comments.php/sort_by vector also affects 1.7.2 and earlier.
The weakness was released 12/13/2005 by r0t (Website). The advisory is shared for download at vupen.com. This vulnerability is handled as CVE-2005-4228 since 12/14/2005. The exploitation is known to be easy. The attack may be launched remotely. No form of authentication is required for exploitation. Technical details as well as a public exploit are known. The MITRE ATT&CK project declares the attack technique as T1505.
The exploit is available at exploit-db.com. It is declared as proof-of-concept. By approaching the search of inurl:comments.php it is possible to find vulnerable targets with Google Hacking.
There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.
The vulnerability is also documented in the databases at Exploit-DB (26791), SecurityFocus (BID 15837†), OSVDB (21689†) and Secunia (SA18019†). Entries connected to this vulnerability are available at VDB-83346 and VDB-83347. Once again VulDB remains the best source for vulnerability data.
Product
Type
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.3VulDB Meta Temp Score: 6.6
VulDB Base Score: 7.3
VulDB Temp Score: 6.6
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Sql injectionCWE: CWE-89 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍
Google Hack: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔍
Timeline
12/13/2005 🔍12/13/2005 🔍
12/14/2005 🔍
12/14/2005 🔍
12/14/2005 🔍
12/14/2005 🔍
03/11/2015 🔍
10/23/2025 🔍
Sources
Advisory: vupen.com⛔Researcher: r0t
Status: Not defined
CVE: CVE-2005-4228 (🔍)
GCVE (CVE): GCVE-0-2005-4228
GCVE (VulDB): GCVE-100-27476
SecurityFocus: 15837
Secunia: 18019 - PhpWebGallery Multiple SQL Injection Vulnerabilities, Moderately Critical
OSVDB: 21689 - PHPWebGallery comments.php Multiple Parameter SQL Injection
Vupen: ADV-2005-2881
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍
Entry
Created: 03/11/2015 23:39Updated: 10/23/2025 04:32
Changes: 03/11/2015 23:39 (52), 07/14/2018 10:28 (8), 10/23/2025 04:32 (24)
Complete: 🔍
Cache ID: 216:9E9:103
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.