Plugin Directory

Changeset 2559208


Ignore:
Timestamp:
07/06/2021 10:04:03 AM (5 years ago)
Author:
ethicalhack3r
Message:

New 1.15.4 version release

Location:
wpscan
Files:
26 edited
1 copied

Legend:

Unmodified
Added
Removed
  • wpscan/tags/1.15.4/app/Plugin.php

    r2540542 r2559208  
    5454    public $plugin_dir = '';
    5555
    56     // Plugin URI.
    57     public $plugin_url = '';
    58 
    5956    // Page.
    6057    public $page_hook = 'toplevel_page_wpscan';
     
    7572    public function __construct() {
    7673        $this->plugin_dir = trailingslashit( str_replace( '\\', '/', dirname( WPSCAN_PLUGIN_FILE ) ) );
    77         $this->plugin_url = site_url( str_replace( str_replace( '\\', '/', ABSPATH ), '', $this->plugin_dir ) );
    7874
    7975        // Languages.
     
    389385            'wpscan',
    390386            array( $this->classes['report'], 'page' ),
    391             $this->plugin_url . 'assets/svg/menu-icon.svg',
     387            plugin_dir_url( dirname( __FILE__ ) ) . 'assets/svg/menu-icon.svg',
    392388            null
    393389        );
  • wpscan/tags/1.15.4/app/Settings.php

    r2540542 r2559208  
    207207    public function page() {
    208208        echo '<div class="wrap">';
    209             echo '<h1><img src="' . $this->parent->plugin_url . 'assets/svg/logo.svg" alt="WPScan"></h1>';
     209            echo '<h1><img src="' . plugin_dir_url( dirname( __FILE__ ) ) . 'assets/svg/logo.svg" alt="WPScan"></h1>';
    210210
    211211            echo '<h2>' . __( 'Settings', 'wpscan' ) . '</h2>';
  • wpscan/tags/1.15.4/readme.txt

    r2547416 r2559208  
    44Requires at least: 3.4
    55Tested up to: 5.6
    6 Stable tag: 1.15.3
     6Stable tag: 1.15.4
    77Requires PHP: 5.5
    88License: GPLv3
     
    9090
    9191== Changelog ==
     92
     93= 1.15.4 =
     94* Fix images not loading on some hosted websites
     95* Update remediation links
    9296
    9397= 1.15.3 =
  • wpscan/tags/1.15.4/security-checks/database-exports/check.php

    r2511419 r2559208  
    7474
    7575                if ( 200 === $code ) {
    76                     $this->add_vulnerability( __( 'A publicly accessible database file  was found in', 'wpscan' ) . " <a href='$url' target='_blank'>$url</a>.", 'high', sanitize_title( $name ), 'https://blog.wpscan.com/2021/01/28/wordpress-database-backup-files.html' );
     76                    $this->add_vulnerability( __( 'A publicly accessible database file  was found in', 'wpscan' ) . " <a href='$url' target='_blank'>$url</a>.", 'high', sanitize_title( $name ), 'https://blog.wpscan.com/wordpress-database-backup-files/' );
    7777                }
    7878            }
  • wpscan/tags/1.15.4/security-checks/debuglog-files/check.php

    r2540542 r2559208  
    6969
    7070            if ( 200 === $code ) {
    71                 $this->add_vulnerability( __( 'A publicly accessible debug.log file was found in', 'wpscan' ) . " <a href='$url' target='_blank'>$url</a>", 'high', sanitize_title( $file ), 'https://blog.wpscan.com/2021/03/18/wordpress-debug-log-files.html' );
     71                $this->add_vulnerability( __( 'A publicly accessible debug.log file was found in', 'wpscan' ) . " <a href='$url' target='_blank'>$url</a>", 'high', sanitize_title( $file ), 'https://blog.wpscan.com/wordpress-debug-log-files/' );
    7272            }
    7373        }
  • wpscan/tags/1.15.4/security-checks/https/check.php

    r2511419 r2559208  
    6767    if ( 'https' !== substr( $wp_url, 0, 5 ) || 'https' !== substr( $site_url, 0, 5 ) ) {
    6868      // No HTTPS used.
    69       $this->add_vulnerability( __( 'The website does not seem to be using HTTPS (SSL/TLS) encryption for communications.', 'wpscan' ), 'high', 'https', 'https://blog.wpscan.com/2021/03/23/wordpress-ssl-tls-https.html' );
     69      $this->add_vulnerability( __( 'The website does not seem to be using HTTPS (SSL/TLS) encryption for communications.', 'wpscan' ), 'high', 'https', 'https://blog.wpscan.com/wordpress-ssl-tls-https-encryption/' );
    7070    }
    7171  }
  • wpscan/tags/1.15.4/security-checks/secret-keys/check.php

    r2511419 r2559208  
    6565        foreach ( $keys as $key ) {
    6666            if ( defined( $key ) && constant( $key ) === 'put your unique phrase here' ) {
    67                 $this->add_vulnerability( __( 'The ' . esc_html( $key ) . ' secret key in the wp-config.php file was the default key. It should be changed to a random value using', 'wpscan' ) . " <a href='https://api.wordpress.org/secret-key/1.1/salt/' target='_blank'>https://api.wordpress.org/secret-key/1.1/salt/</a>.", 'high', sanitize_title( $key ), 'https://blog.wpscan.com/2021/03/23/wordpress-secret-keys.html' );
     67                $this->add_vulnerability( __( 'The ' . esc_html( $key ) . ' secret key in the wp-config.php file was the default key. It should be changed to a random value using', 'wpscan' ) . " <a href='https://api.wordpress.org/secret-key/1.1/salt/' target='_blank'>https://api.wordpress.org/secret-key/1.1/salt/</a>.", 'high', sanitize_title( $key ), 'https://blog.wpscan.com/wordpress-secret-keys/' );
    6868            }
    6969        }
  • wpscan/tags/1.15.4/security-checks/version-control/check.php

    r2511419 r2559208  
    7171
    7272                if ( 200 === $code ) {
    73                     $this->add_vulnerability( __( 'A publicly accessible ' . esc_html( $file ) . ' file was found. The file could expose your websites\'s source code.', 'wpscan' ), 'high', sanitize_title( $file ), 'https://blog.wpscan.com/2021/03/23/wordpress-version-control-files.html' );
     73                    $this->add_vulnerability( __( 'A publicly accessible ' . esc_html( $file ) . ' file was found. The file could expose your websites\'s source code.', 'wpscan' ), 'high', sanitize_title( $file ), 'https://blog.wpscan.com/wordpress-version-control-files/' );
    7474                }
    7575            }
  • wpscan/tags/1.15.4/security-checks/weak-passwords/check.php

    r2511419 r2559208  
    9191        }
    9292
    93         $this->add_vulnerability( $text, 'high', 'weak-passwords', 'https://blog.wpscan.com/wpscan/2019/09/17/wpscan-brute-force.html' );
     93        $this->add_vulnerability( $text, 'high', 'weak-passwords', 'https://blog.wpscan.com/wpscan-brute-force/' );
    9494    }
    9595  }
  • wpscan/tags/1.15.4/security-checks/wpconfig-backups/check.php

    r2511419 r2559208  
    7474
    7575                if ( 200 === $code ) {
    76                     $this->add_vulnerability( __( 'A publicly accessible wp-config.php backup file  was found in', 'wpscan' ) . " <a href='$url' target='_blank'>$url</a>.", 'high', sanitize_title( $path ), 'https://blog.wpscan.com/2021/04/01/wordpress-wp-config-backup-file.html' );
     76                    $this->add_vulnerability( __( 'A publicly accessible wp-config.php backup file  was found in', 'wpscan' ) . " <a href='$url' target='_blank'>$url</a>.", 'high', sanitize_title( $path ), 'https://blog.wpscan.com/wordpress-configuration-file-backups/' );
    7777                }
    7878            }
  • wpscan/tags/1.15.4/security-checks/xmlrpc-enabled/check.php

    r2511419 r2559208  
    7676        } else {
    7777            if ( preg_match( '/<string>Incorrect username or password.<\/string>/', $authenticated_response['body'] ) ) {
    78                 $this->add_vulnerability( __( 'The XML-RPC interface is enabled. This significantly increases your site\'s attack surface.', 'wpscan' ), 'medium', sanitize_title( $url ), 'https://blog.wpscan.com/2021/01/25/wordpress-xmlrpc-security.html' );
     78                $this->add_vulnerability( __( 'The XML-RPC interface is enabled. This significantly increases your site\'s attack surface.', 'wpscan' ), 'medium', sanitize_title( $url ), 'https://blog.wpscan.com/is-wordpress-xmlrpc-a-security-problem/' );
    7979                return;
    8080            } else {
     
    8484
    8585                if ( preg_match( '/<string>Hello!<\/string>/', $unauthenticated_response['body'] ) ) {
    86                     $this->add_vulnerability( __( 'The XML-RPC interface is partly disabled, but still allows unauthenticated requests.', 'wpscan' ), 'low', sanitize_title( $url ), 'https://blog.wpscan.com/2021/01/25/wordpress-xmlrpc-security.html' );
     86                    $this->add_vulnerability( __( 'The XML-RPC interface is partly disabled, but still allows unauthenticated requests.', 'wpscan' ), 'low', sanitize_title( $url ), 'https://blog.wpscan.com/is-wordpress-xmlrpc-a-security-problem/' );
    8787                }
    8888            }
  • wpscan/tags/1.15.4/views/report.php

    r2540542 r2559208  
    99<div class="wrap">
    1010  <h1>
    11     <?php echo file_get_contents($this->parent->plugin_dir. 'assets/svg/logo.svg'); ?>
     11    <?php echo file_get_contents( plugin_dir_url( dirname( __FILE__ ) ) . 'assets/svg/logo.svg'); ?>
    1212  </h1>
    1313 
  • wpscan/tags/1.15.4/wpscan.php

    r2547416 r2559208  
    44 * Plugin URI:    http://wordpress.org/plugins/wpscan/
    55 * Description:   WPScan WordPress Security Scanner. Scans your system for security vulnerabilities listed in the WPScan Vulnerability Database.
    6  * Version:       1.15.3
     6 * Version:       1.15.4
    77 * Author:        WPScan Team
    88 * Author URI:    https://wpscan.com/
  • wpscan/trunk/app/Plugin.php

    r2540542 r2559208  
    5454    public $plugin_dir = '';
    5555
    56     // Plugin URI.
    57     public $plugin_url = '';
    58 
    5956    // Page.
    6057    public $page_hook = 'toplevel_page_wpscan';
     
    7572    public function __construct() {
    7673        $this->plugin_dir = trailingslashit( str_replace( '\\', '/', dirname( WPSCAN_PLUGIN_FILE ) ) );
    77         $this->plugin_url = site_url( str_replace( str_replace( '\\', '/', ABSPATH ), '', $this->plugin_dir ) );
    7874
    7975        // Languages.
     
    389385            'wpscan',
    390386            array( $this->classes['report'], 'page' ),
    391             $this->plugin_url . 'assets/svg/menu-icon.svg',
     387            plugin_dir_url( dirname( __FILE__ ) ) . 'assets/svg/menu-icon.svg',
    392388            null
    393389        );
  • wpscan/trunk/app/Settings.php

    r2540542 r2559208  
    207207    public function page() {
    208208        echo '<div class="wrap">';
    209             echo '<h1><img src="' . $this->parent->plugin_url . 'assets/svg/logo.svg" alt="WPScan"></h1>';
     209            echo '<h1><img src="' . plugin_dir_url( dirname( __FILE__ ) ) . 'assets/svg/logo.svg" alt="WPScan"></h1>';
    210210
    211211            echo '<h2>' . __( 'Settings', 'wpscan' ) . '</h2>';
  • wpscan/trunk/readme.txt

    r2547416 r2559208  
    44Requires at least: 3.4
    55Tested up to: 5.6
    6 Stable tag: 1.15.3
     6Stable tag: 1.15.4
    77Requires PHP: 5.5
    88License: GPLv3
     
    9090
    9191== Changelog ==
     92
     93= 1.15.4 =
     94* Fix images not loading on some hosted websites
     95* Update remediation links
    9296
    9397= 1.15.3 =
  • wpscan/trunk/security-checks/database-exports/check.php

    r2511419 r2559208  
    7474
    7575                if ( 200 === $code ) {
    76                     $this->add_vulnerability( __( 'A publicly accessible database file  was found in', 'wpscan' ) . " <a href='$url' target='_blank'>$url</a>.", 'high', sanitize_title( $name ), 'https://blog.wpscan.com/2021/01/28/wordpress-database-backup-files.html' );
     76                    $this->add_vulnerability( __( 'A publicly accessible database file  was found in', 'wpscan' ) . " <a href='$url' target='_blank'>$url</a>.", 'high', sanitize_title( $name ), 'https://blog.wpscan.com/wordpress-database-backup-files/' );
    7777                }
    7878            }
  • wpscan/trunk/security-checks/debuglog-files/check.php

    r2540542 r2559208  
    6969
    7070            if ( 200 === $code ) {
    71                 $this->add_vulnerability( __( 'A publicly accessible debug.log file was found in', 'wpscan' ) . " <a href='$url' target='_blank'>$url</a>", 'high', sanitize_title( $file ), 'https://blog.wpscan.com/2021/03/18/wordpress-debug-log-files.html' );
     71                $this->add_vulnerability( __( 'A publicly accessible debug.log file was found in', 'wpscan' ) . " <a href='$url' target='_blank'>$url</a>", 'high', sanitize_title( $file ), 'https://blog.wpscan.com/wordpress-debug-log-files/' );
    7272            }
    7373        }
  • wpscan/trunk/security-checks/https/check.php

    r2511419 r2559208  
    6767    if ( 'https' !== substr( $wp_url, 0, 5 ) || 'https' !== substr( $site_url, 0, 5 ) ) {
    6868      // No HTTPS used.
    69       $this->add_vulnerability( __( 'The website does not seem to be using HTTPS (SSL/TLS) encryption for communications.', 'wpscan' ), 'high', 'https', 'https://blog.wpscan.com/2021/03/23/wordpress-ssl-tls-https.html' );
     69      $this->add_vulnerability( __( 'The website does not seem to be using HTTPS (SSL/TLS) encryption for communications.', 'wpscan' ), 'high', 'https', 'https://blog.wpscan.com/wordpress-ssl-tls-https-encryption/' );
    7070    }
    7171  }
  • wpscan/trunk/security-checks/secret-keys/check.php

    r2511419 r2559208  
    6565        foreach ( $keys as $key ) {
    6666            if ( defined( $key ) && constant( $key ) === 'put your unique phrase here' ) {
    67                 $this->add_vulnerability( __( 'The ' . esc_html( $key ) . ' secret key in the wp-config.php file was the default key. It should be changed to a random value using', 'wpscan' ) . " <a href='https://api.wordpress.org/secret-key/1.1/salt/' target='_blank'>https://api.wordpress.org/secret-key/1.1/salt/</a>.", 'high', sanitize_title( $key ), 'https://blog.wpscan.com/2021/03/23/wordpress-secret-keys.html' );
     67                $this->add_vulnerability( __( 'The ' . esc_html( $key ) . ' secret key in the wp-config.php file was the default key. It should be changed to a random value using', 'wpscan' ) . " <a href='https://api.wordpress.org/secret-key/1.1/salt/' target='_blank'>https://api.wordpress.org/secret-key/1.1/salt/</a>.", 'high', sanitize_title( $key ), 'https://blog.wpscan.com/wordpress-secret-keys/' );
    6868            }
    6969        }
  • wpscan/trunk/security-checks/version-control/check.php

    r2511419 r2559208  
    7171
    7272                if ( 200 === $code ) {
    73                     $this->add_vulnerability( __( 'A publicly accessible ' . esc_html( $file ) . ' file was found. The file could expose your websites\'s source code.', 'wpscan' ), 'high', sanitize_title( $file ), 'https://blog.wpscan.com/2021/03/23/wordpress-version-control-files.html' );
     73                    $this->add_vulnerability( __( 'A publicly accessible ' . esc_html( $file ) . ' file was found. The file could expose your websites\'s source code.', 'wpscan' ), 'high', sanitize_title( $file ), 'https://blog.wpscan.com/wordpress-version-control-files/' );
    7474                }
    7575            }
  • wpscan/trunk/security-checks/weak-passwords/check.php

    r2511419 r2559208  
    9191        }
    9292
    93         $this->add_vulnerability( $text, 'high', 'weak-passwords', 'https://blog.wpscan.com/wpscan/2019/09/17/wpscan-brute-force.html' );
     93        $this->add_vulnerability( $text, 'high', 'weak-passwords', 'https://blog.wpscan.com/wpscan-brute-force/' );
    9494    }
    9595  }
  • wpscan/trunk/security-checks/wpconfig-backups/check.php

    r2511419 r2559208  
    7474
    7575                if ( 200 === $code ) {
    76                     $this->add_vulnerability( __( 'A publicly accessible wp-config.php backup file  was found in', 'wpscan' ) . " <a href='$url' target='_blank'>$url</a>.", 'high', sanitize_title( $path ), 'https://blog.wpscan.com/2021/04/01/wordpress-wp-config-backup-file.html' );
     76                    $this->add_vulnerability( __( 'A publicly accessible wp-config.php backup file  was found in', 'wpscan' ) . " <a href='$url' target='_blank'>$url</a>.", 'high', sanitize_title( $path ), 'https://blog.wpscan.com/wordpress-configuration-file-backups/' );
    7777                }
    7878            }
  • wpscan/trunk/security-checks/xmlrpc-enabled/check.php

    r2511419 r2559208  
    7676        } else {
    7777            if ( preg_match( '/<string>Incorrect username or password.<\/string>/', $authenticated_response['body'] ) ) {
    78                 $this->add_vulnerability( __( 'The XML-RPC interface is enabled. This significantly increases your site\'s attack surface.', 'wpscan' ), 'medium', sanitize_title( $url ), 'https://blog.wpscan.com/2021/01/25/wordpress-xmlrpc-security.html' );
     78                $this->add_vulnerability( __( 'The XML-RPC interface is enabled. This significantly increases your site\'s attack surface.', 'wpscan' ), 'medium', sanitize_title( $url ), 'https://blog.wpscan.com/is-wordpress-xmlrpc-a-security-problem/' );
    7979                return;
    8080            } else {
     
    8484
    8585                if ( preg_match( '/<string>Hello!<\/string>/', $unauthenticated_response['body'] ) ) {
    86                     $this->add_vulnerability( __( 'The XML-RPC interface is partly disabled, but still allows unauthenticated requests.', 'wpscan' ), 'low', sanitize_title( $url ), 'https://blog.wpscan.com/2021/01/25/wordpress-xmlrpc-security.html' );
     86                    $this->add_vulnerability( __( 'The XML-RPC interface is partly disabled, but still allows unauthenticated requests.', 'wpscan' ), 'low', sanitize_title( $url ), 'https://blog.wpscan.com/is-wordpress-xmlrpc-a-security-problem/' );
    8787                }
    8888            }
  • wpscan/trunk/views/report.php

    r2540542 r2559208  
    99<div class="wrap">
    1010  <h1>
    11     <?php echo file_get_contents($this->parent->plugin_dir. 'assets/svg/logo.svg'); ?>
     11    <?php echo file_get_contents( plugin_dir_url( dirname( __FILE__ ) ) . 'assets/svg/logo.svg'); ?>
    1212  </h1>
    1313 
  • wpscan/trunk/wpscan.php

    r2547416 r2559208  
    44 * Plugin URI:    http://wordpress.org/plugins/wpscan/
    55 * Description:   WPScan WordPress Security Scanner. Scans your system for security vulnerabilities listed in the WPScan Vulnerability Database.
    6  * Version:       1.15.3
     6 * Version:       1.15.4
    77 * Author:        WPScan Team
    88 * Author URI:    https://wpscan.com/
Note: See TracChangeset for help on using the changeset viewer.