Home Forums Themes Support Claue PHP.Generic.BadPattern.7

Viewing 1 reply thread
  • Author
    Posts
    • #29038

      VaultPress reported possible backdoor on Claue Theme

      security threat Details

      PHP.Generic.BadPattern.7

      This code pattern is often used to run a very dangerous shell programs on your server. The code in these files needs to be reviewed, and possibly cleaned.

      helpers.php
      /wp-content/themes/claue/core/admin/functions

      function cs_encode_string( $string ) {
      return rtrim( strtr( call_user_func( 'base'. '64' .'_encode', addslashes( gzcompress( serialize( $string ), 9 ) ) ), '+/', '-_' ), '=' );
      }
      function cs_decode_string( $string ) {
      return unserialize( gzuncompress( stripslashes( call_user_func( 'base'. '64' .'_decode', rtrim( strtr( $string, '-_', '+/' ), '=' ) ) ) ) );
      }
      Attachments:
      You must be logged in to view attached files.
    • #29060

      Hi.

      I’m sorry for late reply.

      The code we use in Theme Option Framework and we just use base64 to hide the code we’ve added to the theme so it’s harder to detect it. You can most likely ignore that. Because Theme Check https://wordpress.org/plugins/theme-check/ approve it.

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

Viewing 1 reply thread

You must be logged in to reply to this topic.