Supsystic Contact Form by Supsystic
cpe:2.3:a:supsystic:contact_form:*:*:*:*:wordpress:*:*
- <= 1.7.36
A vulnerability allowing server-side template injection (SSTI) has been identified in the Contact Form by Supsystic plugin for WordPress, affecting all versions through 1.7.36. The issue arises from the plugin's use of the Twig template engine, specifically the 'Twig_Loader_String' loader, without proper sandboxing. This vulnerability is exploited through the 'cfsPreFill' functionality, which allows unauthenticated users to inject arbitrary Twig expressions into form fields via GET parameters. By leveraging Twig's capabilities, attackers can execute arbitrary PHP functions and operating system commands on the server.
Exploitation of this vulnerability allows for remote code execution on the server where the affected WordPress site is hosted.
To reproduce this vulnerability, an unauthenticated user can send a GET request to a WordPress site with the Contact Form by Supsystic plugin installed. The request must include the 'cfsPreFill' parameter with a crafted Twig expression that exploits the vulnerability. The injected expression will be executed on the server, allowing for remote code execution.
Users are advised to update the Contact Form by Supsystic plugin to version 1.8.0 or later, where this vulnerability has been patched.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.