Vulnerability · Published Apr 15, 2025 · Assigned by GitHub_M
CVE-2025-32778Web-Check allows command Injection via Unvalidated URL in Screenshot API
Critical 9.3
In plain English
A critical-severity OS command injection in web-check from Lissy93. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 19.6% (higher than 97% of all known vulnerabilities). Ready-made attack tooling exists: Metasploit, Nuclei, public proof-of-concept code.
Official 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.
Affected products (as reported)
Weakness: CWE-78 · Vector: 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
References
- https://github.com/Lissy93/web-check/security/advisories/GHSA-5qg5-g7c2-pfx8 x_refsource_CONFIRM
- https://github.com/Lissy93/web-check/pull/243 x_refsource_MISC
- https://github.com/Lissy93/web-check/commit/0e4958aa10b2650d32439a799f6fc83a7cd46cef x_refsource_MISC