Calibre Web
Calibre Web 0.6.24 & Autocaliweb 0.7.0 - Blind C
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in Calibre Web, Autocaliweb allows Blind OS Command Injection.This issue affects Calibre Web: 0.6.24 (Nicolette); Autocaliweb: from 0.7.0 before 0.7.1.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- 0.6.24
- >= 0.7.0, < 0.7.1
Fixed in 0.7.1
Mitigation
Upgrade Autocaliweb to 0.7.1 or later.
Timeline
Days relative to CVE publicationFirst public PoC 2.3 days after publication; not in CISA KEV. First PoC: mind2hex/CVE-2025-7404-CalibreWeb-0.6.24-BlindCommandInjection (created 27 Jul 2025, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| mind2hex/CVE-2025-7404-CalibreWeb-0.6.24-BlindCommandInjection | 27 Jul 2025 +2.3 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 /admin/config
POST /admin/ajaxconfig
- Key headers
X-CSRF-Token: {var}X-CSRFToken: {var}X-Requested-With: XMLHttpRequest- Body markers
config_rarfile_location=config_password_min_length=8config_port=8083config_external_port=8083config_upload_formats=txt,pdf,epub,mobi,azw,azw3,azw4,cbz,cbrinapplication/x-www-form-urlencoded- Ports
- 8083
- Seen in
- 1 repo: mind2hex/CVE-2025-7404-CalibreWeb-0.6.24-BlindCommandInjection
- Evidence
- mind2hex/CVE-2025-7404-CalibreWeb-0.6.24-BlindCommandInjection/exploit.py:108-124
POST /login
- Body markers
username=password=csrf_token=inapplication/x-www-form-urlencoded- Ports
- 8083
- Seen in
- 1 repo: mind2hex/CVE-2025-7404-CalibreWeb-0.6.24-BlindCommandInjection
- Evidence
- mind2hex/CVE-2025-7404-CalibreWeb-0.6.24-BlindCommandInjection/exploit.py:42-50
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/admin/config(?:[?#].*)?$
(?i)^/admin/ajaxconfig(?:[?#].*)?$
(?i)^/login(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [8083] (msg:"GG PoC-Monitor CVE-2025-7404 Calibre Web Calibre Web exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/admin/config"; reference:url,poc.griffinguard.io/cve/CVE-2025-7404; classtype:web-application-attack; sid:9367476; rev:1;)
alert http any any -> $HOME_NET [8083] (msg:"GG PoC-Monitor CVE-2025-7404 Calibre Web Calibre Web exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/admin/ajaxconfig"; http.header_names; content:"X-CSRF-Token"; nocase; http.header_names; content:"X-CSRFToken"; nocase; http.header; content:"X-Requested-With: XMLHttpRequest"; nocase; http.request_body; content:"config_rarfile_location="; http.request_body; content:"config_password_min_length=8"; http.request_body; content:"config_port=8083"; http.request_body; content:"config_external_port=8083"; http.request_body; content:"config_upload_formats=txt,pdf,epub,mobi,azw,azw3,azw4,cbz,cbr"; reference:url,poc.griffinguard.io/cve/CVE-2025-7404; classtype:web-application-attack; sid:9517494; rev:1;)
alert http any any -> $HOME_NET [8083] (msg:"GG PoC-Monitor CVE-2025-7404 Calibre Web Calibre Web exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/login"; http.request_body; content:"username="; http.request_body; content:"password="; http.request_body; content:"csrf_token="; reference:url,poc.griffinguard.io/cve/CVE-2025-7404; classtype:web-application-attack; sid:9333143; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Calibre Web Calibre Web exploit attempt (CVE-2025-7404)
id: gg-pocmon-cve-2025-7404-9367476
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-7404. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-7404
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/admin/config'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2025.7404
title: Calibre Web Calibre Web exploit attempt (CVE-2025-7404)
id: gg-pocmon-cve-2025-7404-9517494
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-7404. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-7404
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/admin/ajaxconfig'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2025.7404
title: Calibre Web Calibre Web exploit attempt (CVE-2025-7404)
id: gg-pocmon-cve-2025-7404-9333143
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-7404. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-7404
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/login'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2025.7404