Description
The TikTok plugin for WordPress is vulnerable to authorization bypass in all versions up to, and including, 1.4.1. This is due to the plugin not properly verifying that a user is authorized to perform an action. This makes it possible for unauthenticated attackers to overwrite the merchant's stored TikTok integration access token in wp_options, hijacking the site's TikTok Business and product catalog integration. Successful exploitation requires the attacker to supply a valid TikTok OAuth auth_code issued for the merchant's registered TikTok app, as the plugin's token exchange must receive a message='OK' response from TikTok's API before the stored access token is overwritten.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| tiktokbusinessplugin | TikTok | ≤ 1.4.1 | — |
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/31233f4e-4cd5-497f-9e8a-c65635596241?source=cve
- https://plugins.trac.wordpress.org/browser/tiktok-for-business/tags/1.4.0/admin/Tt4b_Menu_Class.php#L417
- https://plugins.trac.wordpress.org/browser/tiktok-for-business/tags/1.4.0/admin/tt4b_menu.php#L13
- https://plugins.trac.wordpress.org/browser/tiktok-for-business/tags/1.4.0/admin/Tt4b_Menu_Class.php#L397
- https://plugins.trac.wordpress.org/browser/tiktok-for-business/tags/1.4.0/mapi/Tt4b_Mapi_Class.php#L332
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3699236%40tiktok-for-business&new=3699236%40tiktok-for-business