Backdoor in td-composer allows anyone to append css code to the page by making a

Posted in: Newspaper
Post count: 11

All our sites have been infested with malware. https://www.bayareaparent.com/
found a backdoor in the live-css code that is part of td-composer in /wp-content/plugins/td-composer/css-live/includes/td_live_css_ajax.php that allows anyone to append css code to the page by making a POST request.

function td_live_css_on_rest_api_init() {
$namespace = ‘tdw’;
register_rest_route($namespace, ‘/save_css/’, array(
‘methods’ => ‘POST’,
‘callback’ => ‘td_live_css_on_ajax_save_css’,
‘permission_callback’ => ‘__return_true’,
));
}

Seems to be in all versions of theme. Version: 12.3, version: 11.3.2

css-live plugin.

  • This topic was modified 2 years by lyon.
  • This topic was modified 2 years by lyon.
Post count: 21065

Hello @lyon!

Do you mean this box? https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/
Please provide more information about your issues.

Thank you!

Post count: 11

live-css is a plugin used by td-composer that creates a backdoor for anyone to add malware. You need to fix your plugin.

function td_live_css_on_rest_api_init() {
$namespace = ‘tdw’;
register_rest_route($namespace, ‘/save_css/’, array(
‘methods’ => ‘POST’,
‘callback’ => ‘td_live_css_on_ajax_save_css’,
‘permission_callback’ => ‘__return_true’,
));
}
should be false

Post count: 117

yes we all have this malware problem hmm!

is ‘permission_callback’ => ‘__return_true’, -> true to false…all we need to change or what !??

Post count: 21065

Hello @lyon!

Our developers are aware of this issue, and we will try to provide a fix in one of the next updates.

Thank you so much for your understanding!

Post count: 22

Hi,

I also experienced this. Can you let us know if there is already a fix for this?

Thanks

Post count: 21065

Hello @mcdv01 !

This issue has been discussed already here: https://forum.tagdiv.com/topic/wp-zexit-malware-and-newspaper-theme-problem-please-see/

Thank you!

Viewing 7 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic.