PNETLab
Path Traversal vulnerability in PNETLab
PNETLab 4.2.10 does not properly sanitize user inputs in its file access mechanisms. This allows attackers to perform directory traversal by manipulating file paths in HTTP requests. Specifically, the application is vulnerable to requests that access sensitive files outside the intended directory.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- 4.2.10
Mitigation
The record names no fix. Check the vendor advisory below.
Timeline
Days relative to CVE publicationFirst public PoC 187 days after publication; not in CISA KEV. First PoC: omr00t/CVE-2025-40629 (created 19 Nov 2025, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| omr00t/CVE-2025-40629 | 19 Nov 2025 +187 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 /api/folders
- Query
path=- Ports
- 8080
- Seen in
- 1 repo: omr00t/CVE-2025-40629
- Evidence
- omr00t/CVE-2025-40629/CVE-2025-40629.py:116
POST /api/export
- Body markers
"username""password""html":"0"inapplication/json- Ports
- 8080
- Seen in
- 1 repo: omr00t/CVE-2025-40629
- Evidence
- omr00t/CVE-2025-40629/CVE-2025-40629.py:144
POST /store/public/auth/login/login
- Body markers
"username""password""html":"0"inapplication/json- Ports
- 8080
- Seen in
- 1 repo: omr00t/CVE-2025-40629
- Evidence
- omr00t/CVE-2025-40629/CVE-2025-40629.py:73
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/api/folders\?(?:.*&)?path=
(?i)^/api/export(?:[?#].*)?$
(?i)^/store/public/auth/login/login(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2025-40629 PNETLab PNETLab exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api/folders"; http.uri; content:"path="; reference:url,poc.griffinguard.io/cve/CVE-2025-40629; classtype:web-application-attack; sid:9023612; rev:1;)
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2025-40629 PNETLab PNETLab exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/export"; http.request_body; content:"|22|username|22|"; http.request_body; content:"|22|password|22|"; http.request_body; content:"|22|html|22|:|22|0|22|"; reference:url,poc.griffinguard.io/cve/CVE-2025-40629; classtype:web-application-attack; sid:9644729; rev:1;)
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2025-40629 PNETLab PNETLab exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/store/public/auth/login/login"; http.request_body; content:"|22|username|22|"; http.request_body; content:"|22|password|22|"; http.request_body; content:"|22|html|22|:|22|0|22|"; reference:url,poc.griffinguard.io/cve/CVE-2025-40629; classtype:web-application-attack; sid:9416832; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: PNETLab PNETLab exploit attempt (CVE-2025-40629)
id: gg-pocmon-cve-2025-40629-9023612
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-40629. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-40629
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/api/folders'
cs-uri-query|contains|all:
- 'path='
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2025.40629
title: PNETLab PNETLab exploit attempt (CVE-2025-40629)
id: gg-pocmon-cve-2025-40629-9644729
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-40629. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-40629
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/api/export'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2025.40629
title: PNETLab PNETLab exploit attempt (CVE-2025-40629)
id: gg-pocmon-cve-2025-40629-9416832
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-40629. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-40629
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/store/public/auth/login/login'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2025.40629