CVE-2026-62262 — CWE-89
CVE-2026-62262 is a CRITICAL severity SQL Injection (SQLi) vulnerability (CWE-89) (CVSS 9.1/10) affecting affected software system. Technical vector analysis shows that an attacker can exploit this flaw remotely over the network without authentication (PR:N) with zero user interaction (UI:N), resulting in complete compromise of system confidentiality and integrity (C:H/I:H).
📄 Official NVD / MITRE Original Record Text
Piwigo is a full featured open source photo gallery application for the web. In 17.0.0beta1 and earlier, when rating is enabled, an unauthenticated guest can call pwg.images.filteredSearch.create with a crafted ratings[] value and then open the returned search URL. include/ws_functions/pwg.images.php stores the unvalidated value in the search rules, and include/functions_search.inc.php integer-casts only the lower rating bound while concatenating the raw value as the SQL upper bound. This allows error-based or blind extraction of database information and database-dependent time delays through the public search flow. No fixed version is available as of this review.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-62262
CVSS 9.1/10 · CRITICAL · 25.09.2026
CWE: CWE-89
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 WHAT IS THIS VULNERABILITY?
SQL Injection (SQLi)
Summary: Piwigo is a full featured open source photo gallery application for the web. In 17.0.0beta1 and earlier, when rating is enabled, an unauthenticated guest can call pwg.images.filteredSearch.create with a crafted ratings[] value and then open the returned search URL. include/ws_functions/pwg.images.php stores the unvalidated value in the search rules, and include/functions_search.inc.php integer-…
⚡ ATTACK CHAIN
Attack steps:
1. Identify injectable parameters (URL params, form fields, HTTP headers, cookies).
2. Basic test: ' OR '1'='1 — look for errors or behavior changes.
3. UNION-based extraction: ' UNION SELECT user(),database()--
4. Automated: sqlmap -u 'TARGET_URL' --dbs --dump --batch
5. Time-based blind: '; IF(1=1) WAITFOR DELAY '0:0:5'--
6. Post-exploitation: dump credentials, write webshell via INTO OUTFILE '/var/www/shell.php'.
🔧 Tools: sqlmap, Burp Suite (Intruder), manual
🗺️ MITRE ATT&CK: T1190 (Exploit Public-Facing Application), T1078 (Valid Accounts)
🌍 REAL WORLD IMPACT
All confidential data readable/stealable; data can be modified or deleted.
🛡️ REMEDIATION
→ Apply the vendor-released patch immediately.
→ Use prepared statements and parameterized queries.
→ Pre-patch: put service behind VPN or apply IP allowlist.
→ Add WAF rule, create IDS alert for anomalous traffic.
⚠️ URGENCY
🚨 NOW (24-48h) — Remote, no-auth, low complexity.
────────────────────────────────────────
[Kural Tabanlı Otomatik Güvenlik Analizi]
FOFA Query