A high-severity vulnerability recently discovered in a WordPress plugin (opens in new tab) put some 60,000 websites at risk of website takeover, data exfiltration, or remote code execution.
The Wordfence’s report explains that, in mid-April, the team found an Object Injection vulnerability in the Booking Calendar plugin which, at press time, has had more than 60,000 installations.
Share your thoughts on Cybersecurity and get a free copy of the Hacker's Manual 2022 (opens in new tab). Help us find how businesses are preparing for the post-Covid world and the implications of these activities on their cybersecurity plans. Enter your email at the end of this survey (opens in new tab) to get the bookazine, worth $10.99/£10.99.
Executing arbitrary code
The plugin gives webmasters the option to add a booking system to the site, which includes the ability to publish a flexible timeline, showing existing bookings and openings.
The flexible timeline also allows webmasters to configure viewing preferences and options, when viewing the published timeline. Some of these options were passed in PHP’s serialized data, Wordfence explained, and an attacker could control this data through multiple methods.
“Any time an attacker can control data that is unserialized by PHP, they can inject a PHP object with properties of their choice,” the announcement reads. “If a 'POP Chain' is also present, it can allow an attacker to execute arbitrary code, delete files, or otherwise destroy or gain control of a vulnerable website.”
> WordPress.com website builder review (opens in new tab)
> Major WordPress update will make amateurs look like master web developers (opens in new tab)
> WordPress plugin vulnerability exposed millions of websites to attack (opens in new tab)
The silver lining in the finding is that Wordfence did not find any POP chains in the Booking plugin, meaning attackers would need “some luck” and additional research to make use of the flaw. Still, as POP chains often appear in software libraries, the threat is real.
Wordfence notified the developers of its findings in mid-April and the patch was deployed within three days. Users are advised to patch to version 9.1.1. of the plugin, as soon as possible.
Being among the most popular website hosting platforms in the world, WordPress and its plugins are often targeted by threat actors, looking for zero-days through which they could deploy malware (opens in new tab). While WordPress itself is generally considered safe, its thousands of third-party plugins are bound to suffer from a few vulnerabilities.
- No security tech stack is complete with a great antivirus solution (opens in new tab)