CVE-2012-5861
Sinapsi eSolar SQL Injection
Check your servers for CVE-2012-5861
The Vulnpocalypse agent sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2012-5861 affects esolar, with the command that installs the fix. The free plan covers one server and does not need a credit card.
Description
These Sinapsi devices do not check the validity of the data before executing queries. By accessing the SQL table of certain pages that do not require authentication within the device, attackers can leak information from the device. This could allow the attacker to compromise confidentiality.
Severity (CVSS)
AV:N/AC:L/Au:N/C:C/I:N/A:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network
- Attack complexity
- low
- Authentication
- none: the attacker does not need to log in
- Impact
- confidentiality complete, integrity none, availability none
Exploitation
EPSS 4.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 91.7% of all scored CVEs. Scores of 26 Nov 2026.
Weakness
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| eSolar |
affected before 2.0.2870_xxx_2.2.12
Other versions: unaffected
|
| eSolar DUO |
affected before 2.0.2870_xxx_2.2.12
Other versions: unaffected
|
| eSolar Light |
affected before 2.0.2870_xxx_2.2.12
Other versions: unaffected
|
Is my server affected?
Find the installed version of esolar and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i esolar
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2012-5861 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2012-5861RHEL, Rocky, Alma, Fedora
rpm -q esolar
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2012-5861Alpine
apk list --installed | grep -i esolarWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2012-5861
trivy image --scanners vuln IMAGE | grep CVE-2012-5861
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server or read how to install the agent.
References
Advisories
Exploits and proof of concept
- 21273 exploit-db.com · exploit
Other references
- 20120911 Multiple vulnerabilities in Ezylog photovoltaic management server archives.neohapsis.com · mailing list
- sinapsi-default-password(80200) exchange.xforce.ibmcloud.com · vdb entry
- https://www.cisa.gov/news-events/ics-advisories/icsa-12-325-01 cisa.gov
- http://www.us-cert.gov/control_systems/pdf/ICSA-12-325-01.pdf us-cert.gov
- sinapsi-sql-injection(80201) exchange.xforce.ibmcloud.com · vdb entry
Source: the record CVE-2012-5861 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.