SecurityContext

wp-config-setup: WordPress Setup Configuration

Classification

  • Checked, none or zero: cwe
  • Not known: cvss score, cvss vector, epss score, epss percentile, cpe

Metadata

  • Max-request: 1

Labels

  • Name: WordPress - Exposed Setup Configuration
  • Impact: Attackers can access sensitive setup configuration details, potentially leading to further compromise of the WordPress site.
  • Remediation: Update to the latest version of WordPress and ensure setup configuration files are not publicly accessible.
  • Vulnerability type: misconfiguration
  • Vulnerability impact: information_disclosure
  • Requirement type: none
  • Labels source: securitycontext
  • Not known: requirements, from cve

```yaml

id: wp-config-setup

info:

name: WordPress Setup Configuration

author: princechaddha

severity: high

description: Exposed Wordpress Setup Configuration.

reference:

- https://smaranchand.com.np/2020/04/misconfigured-wordpress-takeover-to-remote-code-execution/

metadata:

max-request: 1

tags: wordpress,setup,vuln

http:

- method: GET

path:

- "{{BaseURL}}/wp-admin/setup-config.php?step=1"

matchers-condition: and

matchers:

- type: word

words:

- "Below you should enter your database connection details."

- type: status

status:

- 200

digest: 4a0a0047304502204a718f464b0e7ec8478c9b44de18c6c5c8d858a1aa561fcc0b9a3328db7ad486022100817d05f3d301ebe0b3b7d7ec2faef7753096baa5a5ea28787574547ff88d5f1d:922c64590222798bb761d5b6d8e72950

```