CVE-2022-35583
Wkhtmltopdf vulnerability
wkhtmlTOpdf 0.12.6 is vulnerable to SSRF which allows an attacker to get initial access into the target's system by injecting iframe tag with initial asset IP address on it's source. This allows the attacker to takeover the whole infrastructure by accessing their internal assets.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Wkhtmltopdf. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Wkhtmltopdf runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- wkhtmltopdf.org/ · Vendor Advisory
- drive.google.com/file/d/1LAmf_6CJLk5qDp0an2s_gVQ0TN2wmht5/view?usp=sharing · Exploit
- packetstormsecurity.com/files/171446/wkhtmltopdf-0.12.6-Server-Side-Request-Forgery.html · Exploit
- cyber-guy.gitbook.io/cyber-guys-blog/blogs/initial-access-via-pdf-file-silently
- nvd.nist.gov/vuln/detail/CVE-2022-35583
- cve.org/CVERecord?id=CVE-2022-35583
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.