CVE-2008-6789: SQL injection vulnerability in MindDezign Photo Gallery 2.2 allows remote attackers to execute arbitrary SQL c
CVE-2008-6789 is a medium-severity flaw (CVSS 5.1) affecting photo gallery. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
SQL injection vulnerability in MindDezign Photo Gallery 2.2 allows remote attackers to execute arbitrary SQL commands via the username parameter in a login action to the admin module in index.php, a different vector than CVE-2008-6788.
Why this priority
- Public exploit reference
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 5.1 (Medium) |
| EPSS exploit chance | 0.9% (top 40%) |
| CISA exploited list | No |
| Weakness | CWE-89 |
| Published | 2009-05-04 |
| Last modified | 2026-06-16 |
Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Exploit-DB: MindDezign Photo Gallery 2.2 - Arbitrary Add Admin
- Exploit-DB: MindDezign Photo Gallery 2.2 - SQL Injection
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2008-6789?
photo gallery: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2008-6789 being exploited?
CVE-2008-6789 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2008-6789 affect?
CVE-2008-6789 affects photo gallery. Severity is medium (CVSS 5.1). SQL injection vulnerability in MindDezign Photo Gallery 2.2 allows remote attackers to execute arbitrary SQL commands via the username parameter in a login action to the admin module in index.php, a different vector than CVE-2008-6788.
How urgent is CVE-2008-6789?
Priority 38/100. Public exploit reference
Software pages
Related CVEs
- CVE-2025-0613 MEDIUM 6.1 UPGRADE The Photo Gallery by 10Web WordPress plugin before 1.8.34 does not sanitised and escaped comment added on ima
- CVE-2024-9878 MEDIUM 4.4 UPGRADE The Photo Gallery by 10Web – Mobile-Friendly Image Gallery plugin for WordPress is vulnerable to Stored Cross-
- CVE-2024-8670 MEDIUM 4.8 UPGRADE The Photo Gallery by 10Web WordPress plugin before 1.8.29 does not sanitise and escape some of its settings,
- CVE-2024-5968 MEDIUM 4.8 UPGRADE The Photo Gallery by 10Web WordPress plugin before 1.8.28 does not properly sanitise and escape some of its G
- CVE-2024-5481 MEDIUM 6.8 UPGRADE The Photo Gallery by 10Web – Mobile-Friendly Image Gallery plugin for WordPress is vulnerable to Path Traversa