{"answers":{"affected":"It affects 4 products.","exploited":"There is no known exploitation of CVE-2012-5861 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2012-5861 yet. Limit exposure of the affected software until one is available.","what":"CVE-2012-5861 is a high-severity SQL injection vulnerability in Sinapsi eSolar, published on 23 Nov 2012. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2012-5861 and fix it if it is affected.\n\nWhat it is: CVE-2012-5861 is a high-severity SQL injection vulnerability in Sinapsi eSolar, published on 23 Nov 2012. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2012-5861 in the wild and no public exploit code.\n\nAffected product: Sinapsi eSolar. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2012-5861/ (Markdown: https://insights.sbomify.com/CVE-2012-5861/index.md)","id":"CVE-2012-5861","markdown":"https://insights.sbomify.com/CVE-2012-5861/index.md","name":"CVE-2012-5861","record":{"aliases":["GHSA-f4r2-hvg9-43x3"],"analysis":{"component_type":"iot_embedded","fix_type":"no_fix_stated","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Sinapsi eSolar device","requires_auth":"none","summary":"Unauthenticated attackers can exploit SQL injection in Sinapsi eSolar devices to leak sensitive information from the device database.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"icscert","cpe":[{"product":"esolar_duo_photovoltaic_system_monitor","vendor":"sinapsitech"},{"product":"esolar_light_photovoltaic_system_monitor","vendor":"sinapsitech"},{"product":"esolar_photovoltaic_system_monitor","vendor":"sinapsitech"},{"product":"sinapsi_firmware","vendor":"sinapsitech"}],"cvss":{"score":7.8,"severity":"high","source":"cna","vector":"AV:N/AC:L/Au:N/C:C/I:N/A:N","version":"2.0"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"description":"These Sinapsi devices do not check the validity of the data before \nexecuting queries. By accessing the SQL table of certain pages that do \nnot require authentication within the device, attackers can leak \ninformation from the device. This could allow the attacker to compromise\n confidentiality.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2012-09-12","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2012-09-12","kind":"exploitdb","ref":"21273","stars":null,"title":"Ezylog Photovoltaic Management Server - Multiple Vulnerabilities"}],"tier":"poc_unverified"},"has_fix":null,"headline":"Sinapsi eSolar SQL Injection","id":"CVE-2012-5861","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"sql_injection","year":"2012"},"n_packages":0,"n_references":5,"next":{"headline":"Sinapsi eSolar Hard-Coded Password","id":"CVE-2012-5862"},"packages":[],"prev":{"headline":"Weak cryptography in n/a","id":"CVE-2012-5860"},"products":["eSolar","eSolar DUO","eSolar Light"],"published":"2012-11-23","related":[{"cvss_score":10,"headline":"Sinapsi eSolar Hard-Coded Password","id":"CVE-2012-5862","kev_date_added":null,"published":"2012-11-23"},{"cvss_score":10,"headline":"Sinapsi eSolar OS Command Injection","id":"CVE-2012-5863","kev_date_added":null,"published":"2012-11-23"},{"cvss_score":9.4,"headline":"Sinapsi eSolar Improper Authentication","id":"CVE-2012-5864","kev_date_added":null,"published":"2012-11-23"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2025-07-08","vendors":["Sinapsi"]},"summary":"Unauthenticated attackers can exploit SQL injection in Sinapsi eSolar devices to leak sensitive information from the device database.","url":"https://insights.sbomify.com/CVE-2012-5861/"}