CVE-2022-29305
PHP vulnerability analysis and mitigation

Overview

imgurl v2.31 was discovered to contain a Blind SQL injection vulnerability via /upload/localhost. The vulnerability was identified and disclosed on May 24, 2022 (NVD).

Technical details

The vulnerability exists in the upload.php file where user IP addresses are obtained through multiple methods and directly concatenated into SQL statements between lines 44-58. The issue specifically occurs in the query->uplimit($ip) function. The CVSS score for this vulnerability is 6.8 (CISA).

Impact

An attacker could exploit this vulnerability to perform blind SQL injection attacks, potentially allowing unauthorized access to or manipulation of the underlying database. The vulnerability could be used to extract data from the database through carefully crafted boolean-based queries (GitHub Issue).

Mitigation and workarounds

The recommended fixes include implementing proper input validation for user IP addresses and using PDO (PHP Data Objects) to prevent SQL injection attacks (GitHub Issue).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-13828CRITICAL9
  • PHPPHP
  • mautic/core
NoYesDec 02, 2025
CVE-2025-13827HIGH8.8
  • PHPPHP
  • mautic/grapes-js-builder-bundle
NoYesDec 02, 2025
CVE-2025-66312MEDIUM6.2
  • PHPPHP
  • getgrav/grav
NoYesDec 01, 2025
CVE-2025-66311MEDIUM6.2
  • PHPPHP
  • getgrav/grav
NoYesDec 01, 2025
CVE-2025-66310MEDIUM6.2
  • PHPPHP
  • getgrav/grav
NoYesDec 01, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management