RRWO Catalyst::View::Wkhtmltopdf
Catalyst::View::Wkhtmltopdf versions before 0.6.1 for Perl allow shell command injection (RCE) via PDF render options
Catalyst::View::Wkhtmltopdf versions before 0.6.1 for Perl allow shell command injection (RCE) via PDF render options. Options are passed directly to the wkhtmltopdf command without sanitization. Any web application that passes user-controlled options such as the page_size, orientation or margins without validation allows shell command injection. Version 0.6.0 was released with an incomplete fix for this issue. Note that the wkhtmltopdf project is no longer being developed, and users of this package should migrate to alternative solutions.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 0.6.1
Fixed in 0.6.1
Mitigation
Upgrade to Catalyst::View::Wkhtmltopdf version 0.6.1 or later.
Workaround
For deployments that cannot upgrade, ensure the application does not allow unvalidated wkhtmltopdf options to be submitted.
References
- Vendor advisory github.com/robrwo/Catalyst-View-Wkhtmltopdf/se…
- Release notes metacpan.org/release/RRWO/Catalyst-View-Wkhtmlto…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.