CVE-2025-1185 pihome-shc PiHome ajax.php sql injection
Remote attackers can exploit SQL injection in PiHome's ajax.php to read or modify database contents.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-1185?
CVE-2025-1185 is a medium-severity SQL injection vulnerability in pihome-shc PiHome, published on 12 Feb 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A vulnerability was found in pihome-shc PiHome 2.0. It has been classified as critical. This affects an unknown part of the file /ajax.php?Ajax=GetModal_Sensor_Graph. The manipulation leads to sql injection. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used.
Which versions are affected by CVE-2025-1185?
It affects 1 product.
Products include Pihome Maxair.
How do I fix CVE-2025-1185?
No fix has been published for CVE-2025-1185 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2025-1185 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-1185 exists.
Other vulnerabilities in pihome-shc PiHome
Sources
Also known as GHSA-5xqp-63mr-qv6m.