
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-35168 is an authenticated SQL injection vulnerability in the Aggiornamenti (Updates) module of OpenSTAManager, an open source management software for technical assistance and invoicing. The vulnerability affects all versions up to and including 2.10.1, and was disclosed on April 1–2, 2026, with a patch released in version 2.10.2. It carries a CVSS v3.1 base score of 8.8 (High), reflecting network-based exploitation requiring only low-privilege authentication (GitHub Advisory, Feedly).
The root cause is CWE-89 (SQL Injection): the op=risolvi-conflitti-database action in modules/aggiornamenti/actions.php (lines 40–82) reads a JSON array of SQL statements from the POST parameter queries, JSON-decodes it, and passes each element directly to $dbo->query() without any validation, allowlist, or sanitization. Before executing the user-supplied queries, the application explicitly disables foreign key checks via SET FOREIGN_KEY_CHECKS=0, further undermining database integrity protections. Additionally, exception messages containing database structure details are returned in the JSON response, leaking internal schema information. The only access control is module-level rw permission on the Aggiornamenti module, which is granted to the default admin account and can be assigned to other user groups (GitHub Advisory).
An authenticated attacker with rw access to the Aggiornamenti module can execute arbitrary SQL commands — including CREATE, DROP, ALTER, INSERT, UPDATE, DELETE, and SELECT INTO OUTFILE — against the underlying MySQL database. This enables complete database exfiltration (credentials, PII, financial data, configuration secrets), full data manipulation (creating rogue admin accounts, modifying financial records, planting backdoors), and availability disruption via dropping critical tables or resource-intensive queries. Depending on MySQL server configuration, SELECT ... INTO OUTFILE or MySQL User Defined Functions (UDFs) could be leveraged to write arbitrary files or execute OS commands, potentially escalating to full remote code execution (GitHub Advisory).
A working proof-of-concept Python exploit (poc_sql.py) is publicly available in the GitHub Security Advisory, providing step-by-step instructions including authentication, module ID detection, and crafted HTTP POST requests with JSON-encoded SQL payloads. The EPSS score is approximately 0.061% (0.000610), indicating currently low predicted exploitation probability. There is no evidence of in-the-wild exploitation at this time, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The vulnerability was discovered and reported by researcher Omar Ramirez (ormzro) (GitHub Advisory, Feedly).
/index.php with op=login&username=<user>&password=<pass>. Save the returned PHPSESSID cookie upon successful redirect to controller.php.id_module= values associated with the "Aggiornamenti" module. The default value in a standard installation is 6; alternatively, probe common IDs (4–8) by checking page content./editor.php?id_module=6&id_record=6 with Content-Type: application/x-www-form-urlencoded and the body: op=risolvi-conflitti-database&queries=<URL-encoded JSON array of SQL statements>.queries parameter contains a JSON array such as ["DROP TABLE IF EXISTS poc_test", "CREATE TABLE poc_test (id INT AUTO_INCREMENT PRIMARY KEY, proof VARCHAR(255))", "INSERT INTO poc_test (proof) VALUES ('pwned')"]. Any valid MySQL statement is accepted.{"success":true,"message":"Tutte le query sono state eseguite con successo (3 query)..."}, confirming all statements were executed.SELECT ... INTO OUTFILE to write a web shell to the server filesystem, or extract sensitive data (e.g., SELECT * FROM zz_users) via INSERT-based exfiltration techniques, depending on MySQL FILE privilege and secure_file_priv configuration (GitHub Advisory)./editor.php?id_module=<N>&id_record=<N> with op=risolvi-conflitti-database in the body; URL-encoded JSON arrays in the queries parameter containing SQL keywords (DROP, CREATE, INSERT, SELECT, OUTFILE)./editor.php with op=risolvi-conflitti-database; application logs recording execution of unexpected SQL statements (e.g., DDL operations outside normal update cycles).poc_vuln04_verify, poc_vuln04_marker) or newly created admin accounts in zz_users; modified financial records or configuration entries; files written to the web root via SELECT INTO OUTFILE.SELECT INTO OUTFILE if FILE privilege is enabled.The primary remediation is to upgrade OpenSTAManager to version 2.10.2 or later, which implements a SQL allowlist in modules/aggiornamenti/actions.php restricting accepted queries to safe patterns (e.g., ALTER TABLE, CREATE INDEX, DROP INDEX, UPDATE zz_views, INSERT INTO zz_*, DELETE FROM zz_*) and removes the SET FOREIGN_KEY_CHECKS=0 call (GitHub Release, Patch Commit). As interim workarounds: restrict access to the Aggiornamenti module to trusted administrators only; implement network-level controls (firewall, VPN) to limit who can reach the OpenSTAManager application; and monitor database logs for suspicious DDL/DML activity. Error messages from the endpoint should also be sanitized to prevent database schema leakage (GitHub Advisory).
The vulnerability received coverage from threat intelligence outlets including The Hacker Wire and Yazoul.net shortly after disclosure. Social media activity was observed on Bluesky and Mastodon, primarily from automated CVE tracking accounts. No significant vendor statements beyond the GitHub Security Advisory and patch release have been identified, and community reaction has been moderate given the niche scope of the affected software (The Hacker Wire, Yazoul Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."