ITFlow
ITFlow: Authenticated SQL Injection via recurring_invoice_frequency Parameter Enables Full Database Exfiltration
ITFlow provides an IT documentation, ticketing and accounting system for small managed service providers. Prior to version 26.07, an authenticated Technician or higher with access to at least one client invoice can inject SQL through the frequency parameter handled by agent/post/recurring_invoice.php. The handler passes recurring_invoice_frequency through sanitizeInput but interpolates it unquoted into DATE_ADD, allowing SQL syntax to escape the interval expression, assign additional INSERT columns, store subquery results in recurring_invoice_note, and expose those results through agent/recurring_invoice.php. The persisted recurring_invoice_frequency can execute again when Force Recurring uses it in a later UPDATE, allowing another legitimate user to trigger the second-order injection. This can expose password hashes, SMTP credentials, user records, and database metadata, modify database fields, and enable administrative takeover after credential cracking. This issue is fixed in version 26.07.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 26.07
Fixed in 26.07
Mitigation
Upgrade itflow to 26.07 or later.
References
- Vendor advisory github.com/itflow-org/itflow/security/advisori…
- Patch github.com/itflow-org/itflow/pull/1284
- Patch github.com/itflow-org/itflow/commit/7211426292…
1 more
- Release notes github.com/itflow-org/itflow/releases/tag/v26.…
Timeline
Days relative to CVE publicationFirst public PoC 94 days before publication; not in CISA KEV. First PoC: iltosec/CVE-2026-54596 (created 15 Jun 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| iltosec/CVE-2026-54596 | 15 Jun 2026 −94 d | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 1 PoC repoPOST /agent/post.php
- Body markers
add_invoice_recurring=1csrf_token=invoice_id=frequency=inapplication/x-www-form-urlencoded- Seen in
- 1 repo: iltosec/CVE-2026-54596
- Evidence
- iltosec/CVE-2026-54596/exploit.py:65
POST /login.php
- Body markers
email=password=login=1inapplication/x-www-form-urlencoded- Seen in
- 1 repo: iltosec/CVE-2026-54596
- Evidence
- iltosec/CVE-2026-54596/exploit.py:48
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/agent/post\.php(?:[?#].*)?$
(?i)^/login\.php(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-54596 itflow-org itflow exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/agent/post.php"; http.request_body; content:"add_invoice_recurring=1"; http.request_body; content:"csrf_token="; http.request_body; content:"invoice_id="; http.request_body; content:"frequency="; reference:url,poc.griffinguard.io/cve/CVE-2026-54596; classtype:web-application-attack; sid:9668891; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-54596 itflow-org itflow exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/login.php"; http.request_body; content:"email="; http.request_body; content:"password="; http.request_body; content:"login=1"; reference:url,poc.griffinguard.io/cve/CVE-2026-54596; classtype:web-application-attack; sid:9643156; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: itflow-org itflow exploit attempt (CVE-2026-54596)
id: gg-pocmon-cve-2026-54596-9668891
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-54596. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-54596
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/agent/post.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.54596
title: itflow-org itflow exploit attempt (CVE-2026-54596)
id: gg-pocmon-cve-2026-54596-9643156
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-54596. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-54596
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/login.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.54596