Description
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()`.
Module options
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use exploit/multi/http/web_check_screenshot_rcemsf undefined(web_check_screenshot_rce) > show actions ...actions...msf undefined(web_check_screenshot_rce) > set ACTION < action-name >msf undefined(web_check_screenshot_rce) > show options ...show and set options...msf undefined(web_check_screenshot_rce) > runPrioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub