ITFlow
ITFlow: Authenticated Time-Based Blind SQL Injection in ITFlow via expires Parameter
ITFlow provides an IT documentation, ticketing and accounting system for small managed service providers. Prior to version 26.07, an authenticated user with module_support write permission and access to a credential record can perform time-based blind SQL injection through the expires parameter of the share_generate_link handler in agent/ajax.php. sanitizeInput applies string-context escaping, but expires is inserted unquoted into the item_expire_at MySQL INTERVAL expression, allowing a crafted expression and interval unit to execute conditional database queries whose results are inferred from response delays. This can expose password hashes, SMTP credentials, API keys, encrypted vault data, and database metadata and support 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/1289
- Patch github.com/itflow-org/itflow/commit/63d86917ae…
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-54597 (created 15 Jun 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| iltosec/CVE-2026-54597 | 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 repoGET /agent/ajax.php
- Query
share_generate_link=item_type=Credentialitem_id=client_id=1expires=IF((email=t@t.comview_limit=0csrf_token=- Seen in
- 1 repo: iltosec/CVE-2026-54597
- Evidence
- iltosec/CVE-2026-54597/exploit.py:92
GET /agent/clients.php
- Seen in
- 1 repo: iltosec/CVE-2026-54597
- Evidence
- iltosec/CVE-2026-54597/exploit.py:59 iltosec/CVE-2026-54597/exploit.py:141
POST /login.php
- Body markers
email=password=login=inapplication/x-www-form-urlencoded- Seen in
- 1 repo: iltosec/CVE-2026-54597
- Evidence
- iltosec/CVE-2026-54597/exploit.py:49
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/agent/ajax\.php\?(?:.*&)?share_generate_link=.*item_type=Credential.*item_id=.*client_id=1.*expires=IF\(\(.*email=t@t\.com.*view_limit=0.*csrf_token=
(?i)^/agent/clients\.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-54597 itflow-org itflow exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/agent/ajax.php"; http.uri; content:"share_generate_link="; http.uri; content:"item_type=Credential"; http.uri; content:"item_id="; http.uri; content:"client_id=1"; http.uri; content:"expires=IF(("; http.uri; content:"email=t@t.com"; http.uri; content:"view_limit=0"; http.uri; content:"csrf_token="; reference:url,poc.griffinguard.io/cve/CVE-2026-54597; classtype:web-application-attack; sid:9126346; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-54597 itflow-org itflow exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/agent/clients.php"; reference:url,poc.griffinguard.io/cve/CVE-2026-54597; classtype:web-application-attack; sid:9177532; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-54597 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="; reference:url,poc.griffinguard.io/cve/CVE-2026-54597; classtype:web-application-attack; sid:9686975; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: itflow-org itflow exploit attempt (CVE-2026-54597)
id: gg-pocmon-cve-2026-54597-9126346
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-54597. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-54597
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/agent/ajax.php'
cs-uri-query|contains|all:
- 'share_generate_link='
- 'item_type=Credential'
- 'item_id='
- 'client_id=1'
- 'expires=IF(('
- 'email=t@t.com'
- 'view_limit=0'
- 'csrf_token='
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.54597
title: itflow-org itflow exploit attempt (CVE-2026-54597)
id: gg-pocmon-cve-2026-54597-9177532
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-54597. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-54597
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/agent/clients.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.54597
title: itflow-org itflow exploit attempt (CVE-2026-54597)
id: gg-pocmon-cve-2026-54597-9686975
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-54597. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-54597
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.54597