Exploit database

Vulnerability

CVE-2025-32778

Web-Check allows command Injection via Unvalidated URL in Screenshot API

Vulnerability details

Score
9.3
Severity
critical

CVSS 4.0 · GitHub_M

Vector string

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Description

Web-Check is an all-in-one OSINT tool for analyzing any website. A command injection vulnerability exists in the screenshot API of the Web Check project (Lissy93/web-check). The issue stems from user-controlled input (url) being passed unsanitized into a shell command using exec(), allowing attackers to execute arbitrary system commands on the underlying host. This could be exploited by sending crafted url parameters to extract files or even establish remote access. The vulnerability has been patched by replacing exec() with execFile(), which avoids using a shell and properly isolates arguments.

CVE Program

Exploit source choices

2 sources
Web-Check Screenshot API Command Injection RCE
MSF-multi--http--web_check_screenshot_rceMetasploitLinux,Unix,Windows / remotePreferred

This module exploits a command injection vulnerability in Web-Check's `/api/screenshot` endpoint. The `directChromiumScreenshot()` function uses `child_process.exec()` with unsanitized user input, allowing command injection via URL query parameters. The vulnerability was patched in commit 0e4958aa10b2650d32439a799f6fc83a7cd46cef by replacing `exec()` with `execFile()`.

2025-04-12web_check_screenshot_rce.rb
00xcanelo/cve-2025-32778
GH-74511aa2ae4f551889922e25460d1ac4GitHubUnofficial GitHub source

PoC exploit for CVE-2025-32778: command injection in Web-Check OSINT tool

2025-08-175 files · 3 stars