Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privilege agent
-
DeliverySend share_generate_link with injected INTERVAL subquery
-
ExploitMariaDB encodes target column value as expiry hours
-
ExecutionRead expiry timestamp from unauthenticated guest page
-
ImpactReconstruct SMTP passwords, API keys and other-tenant data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires a valid, authenticated ITFlow agent account with module_support >= 2 (standard agent/support write privilege) plus any client_id and file_id the agent can access - this is a low, not administrative, privilege level. The injection is reached through the share_generate_link action in agent/ajax.php; no user interaction and no non-default configuration are needed, as the sharing feature is standard and the server enforces none of the UI's four fixed expiry options. The data-return channel is the UNAUTHENTICATED guest share page, so no second account, email access, or privileged network position is required to retrieve exfiltrated values. Limiting factors: the attacker must first obtain agent credentials, and only versions 26.12 and prior are affected; no patched version is currently available. |
| Impact | This is a genuine, actionable SQL injection (CWE-89) rather than a high-CVSS-but-low-real-risk issue, though it is not an emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N, 7.1) is internally consistent with the evidence: network-reachable, low-complexity, requiring low-privilege authentication (PR:L), no user interaction, with high confidentiality impact. The GHSA advisory confirms the mechanism precisely - the 'expires' parameter is interpolated unquoted into a MySQL INTERVAL expression, and sanitizeInput() only escapes quotes/backslashes, leaving parentheses, commas, spaces and letters free to inject a subquery. The priority decision label is 'this_week', consistent with an authenticated, pre-patch flaw that is serious but not internet-wide unauthenticated RCE. No EPSS score and no KEV listing were provided, so there is no evidence of active exploitation; exploitation probability cannot be quantified from the input. A detailed public PoC reference (itflow_sqli_poc.py) accompanies the advisory, lowering the skill barrier. The key amplifiers raising real risk above a typical authenticated SQLi: the exfiltration read-back occurs on the UNAUTHENTICATED guest share page, and a standard low-privilege agent can read any column of any table - including settings.config_smtp_password, SMTP username, API keys and other tenants' data (multi-tenant breakout). No SSVC vector or EPSS was supplied; those signals are missing, not conflicting. |
| Exploit ScenarioDerived | An attacker holding (or phishing) any standard ITFlow agent account with support write access sends a share_generate_link request whose 'expires' value is a subquery such as (SELECT ASCII(SUBSTRING(config_smtp_password,N,1)) FROM settings LIMIT 1) HOUR, causing MariaDB to encode a secret character as hours-until-expiry. The attacker then opens the resulting share URL unauthenticated and reads the exposed expiry timestamp, repeating per character to reconstruct SMTP passwords, API keys, or other clients' data. A working PoC script is referenced in the advisory, but it is not verified as confirmed working exploit code. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 03, 2026
SQL injection in ITFlow 26.12 and earlier lets any authenticated agent encode arbitrary database values - including settings.config_smtp_password, SMTP usernames, API keys and other clients' records - as an hours-until-expiry interval and then read them back from the unauthenticated guest share page. The flaw is in the expires parameter of the share_generate_link action in agent/ajax.php, where the value is pasted into a MySQL INTERVAL expression and the server enforces none of the four fixed expiry options the UI offers. No vendor-released patch is identified at time of analysis; the upstream GHSA advisory publishes a proof-of-concept script and full reproduction steps, and the assessed vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N) reflects a low-privileged but authenticated agent account as the only prerequisite.
RemediationAI
No vendor-released patch is identified at time of analysis - the advisory states there are no publicly known patches and the package metadata records "fixed in: not yet patched" - so the immediate action is to apply the allowlist fix the advisory itself proposes in agent/ajax.php, validating expires against the exact set ['1 HOUR', '24 HOUR', '168 HOUR', '730 HOUR'] and returning HTTP 400 on anything else, or better, replacing the INTERVAL string with a bound integer parameter; this is a small, localised change but it is an unsupported local patch that will need to be re-applied on every upgrade. Where code changes are not possible, disable or block the guest share functionality (guest/guest_view_item.php and the share_generate_link action) at the web server or remove the module; the trade-off is that legitimate file/document sharing links stop working for clients. Tighten agent provisioning in the meantime: the injection needs an account with module_support >= 2, so audit existing agent accounts, remove support-module write access from anyone who does not need it, enforce strong authentication and unique credentials on agents, and review shared_items rows for implausible item_expire_at values (anything far beyond the ~730-hour UI maximum, e.g. dates years in the future) as a detection signal. Because the read-back happens on an unauthenticated page, restricting that page alone does not close the injection sink and must be paired with the input validation. Track https://github.com/itflow-org/itflow/security/advisories/GHSA-5g5j-37c8-hm7m (and EUVD-2026-143743) for the upstream release; the priority label is this_week, so treat remediation as scheduled work rather than an emergency, but do not defer it, since the exposure includes SMTP credentials, API keys and other tenants' data.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
ITFlow is a PHP/MySQL (MariaDB) application for MSP documentation, ticketing and accounting, and this is a classic CWE-89 injection into a context where escaping does not help. In agent/ajax.php the code takes $_GET['expires'], passes it through sanitizeInput() - which is only strip_tags(), trim() and mysqli_real_escape_string() - and interpolates the result unquoted into "item_expire_at = NOW() + INTERVAL + $item_expires" inside an INSERT INTO shared_items statement. mysqli_real_escape_string() escapes NUL, newline, carriage return, backslash, single and double quotes and \x1a; it does nothing for parentheses, commas, spaces, letters or operators, all of which are exactly what is needed to place a subquery such as (SELECT ASCII(SUBSTRING(config_smtp_password,N,1)) FROM settings LIMIT 1) into an unquoted numeric INTERVAL slot. Because the UI's four radio options (1, 24, 168, 730 HOUR) are never validated server-side, any integer-valued expression MariaDB accepts is evaluated and persisted into item_expire_at. The exfiltration channel is guest/guest_view_item.php, which requires no authentication and renders the stored item_expire_at value back as a human-readable date, so the attacker derives each extracted ASCII code by comparing the displayed expiry against request time - a stored, timestamp-encoded blind extraction that needs no out-of-band channel. Read impact is high (any column of any table, including cross-tenant data) while write impact is limited, matching the assessed C:H/I:L vector.
Know when Itflow gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
Network-reachable injection needing only a low-privilege agent account (PR:L) with no user interaction; reads any DB column so C:H, minor write of the expiry value gives I:L, no availability impact.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
DescriptionCVE.org
ITFlow provides an IT documentation, ticketing and accounting system for small managed service providers. In versions 26.12 and prior, the expires parameter of the share_generate_link action in agent/ajax.php is interpolated directly into a MySQL INTERVAL expression without any allowlist validation. sanitizeInput() only escapes quotes and backslashes - it provides zero protection in unquoted SQL contexts. An authenticated agent can inject arbitrary subqueries, encoding any database value as hours-until-expiry, then read it back from the unauthenticated guest share page. At time of publication, there are no publicly known patches.
Technical POC Analysis
CWE-89 (SQL injection).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A high-severity SQL injection vulnerability in ITFlow (versions 26.12 and earlier) allows any authenticated agent to extract sensitive configuration data, including SMTP passwords and API keys, and potentially access other clients' records. This exposes the organization to credential compromise and data breach risks, undermining trust in the managed service platform. Leadership should prioritize immediate remediation to prevent unauthorized access to client data and protect organizational reputation.
No vendor-released patch identified at time of analysis. Interim mitigations: enforce strict access controls for agent accounts, monitor and audit share link generation, apply WAF rules to filter malicious input, and rotate sensitive credentials regularly.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Stored cross-site scripting in ITFlow's inbound email-to-ticket parser (cron/ticket_email_parser.php) lets a remote, una
Cross Site Scripting vulnerability in ITFlow.org before commit v.432488eca3998c5be6b6b9e8f8ba01f54bc12378 allows a remto
Time-based blind SQL injection in ITFlow versions prior to 26.07 allows an authenticated user who holds module_support w
SQL injection in ITFlow versions prior to 26.07 allows an authenticated user with the Technician role or higher who has
Insecure Direct Object Reference (IDOR) in ITFlow allows a low-privileged authenticated agent to exfiltrate plaintext cr
An SQL injection vulnerability in Itflow through 25.06 has been identified in the "role_id" parameter when editing a pro
EUVD-2026-143743
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB