Web-Check allows command Injection via Unvalidated URL in Screenshot API
No fixed version listed yet.Check the vendor advisory. References ↓
Lissy93 · web-check
A command injection flaw exists in the screenshot API of Web-Check, an OSINT tool for analysing websites, where the user-supplied url parameter is passed unsanitised into a shell command run via exec(). An unauthenticated remote attacker can send a crafted url parameter over the network, with no user interaction or special configuration required, to run arbitrary system commands on the underlying host, such as extracting files or establishing remote access.
Official description · CVE.org
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.
- Exploited
- Yes, in VulnCheck KEV
- Reports
- 0
- Tactics
- 0/15
Exploitation timelineDated milestones for a CVE: when it was disclosed, when exploit code became public, when exploitation was confirmed, and when threat reports named it.
Public exploit code (Metasploit) was available 3 days before disclosure.
- Public exploit codeMetasploit3 days before
- Disclosedday 0
Affected versions and fixes
as published in the CVE recordLissy93 web-check
Affected: < 2.0.1