CVE-2019-3912· labkey / labkey server· CWE-601
LabKey Server Community Edition <18.3.0 - Open Redirect
LabKey Server Community Edition before 18.3.0-61806.763 contains an open redirect vulnerability via the /__r1/ returnURL parameter, which allows an attacker to redirect a user to a malicious site and possibly obtain sensitive information, modify data, and/or execute unauthorized operations.
Impact
An attacker can exploit this vulnerability to redirect users to malicious websites, leading to phishing attacks or the theft of sensitive information.
Fix
Upgrade LabKey Server Community Edition to version 18.3.0 or later to mitigate the vulnerability.
How to confirm it
Send: GET {{BaseURL}}/labkey/__r1/login-login.view?returnUrl=http://interact.sh
Positive when: matches in header /(?m)^(?:Location\s*?:\s*?)(?:https?:\/\/|\/\/|\/\\\\|\/\\)(?:[a-zA-Z0-9\-_\.@]*…/Run it with nuclei: nuclei -id CVE-2019-3912 -u <target>. This check is not marked as verified by its authors.
The full check
id: CVE-2019-3912
info:
name: LabKey Server Community Edition <18.3.0 - Open Redirect
author: 0x_Akoko
severity: medium
description: LabKey Server Community Edition before 18.3.0-61806.763 contains an open redirect vulnerability via the /__r1/ returnURL parameter, which allows an attacker to redirect a user to a malicious site and possibly obtain sensitive information, modify data, and/or execute unauthorized operations.
impact: |
An attacker can exploit this vulnerability to redirect users to malicious websites, leading to phishing attacks or the theft of sensitive information.
remediation: |
Upgrade LabKey Server Community Edition to version 18.3.0 or later to mitigate the vulnerability.
reference:
- https://www.tenable.com/security/research/tra-2019-03
- https://nvd.nist.gov/vuln/detail/CVE-2019-3912
- https://github.com/ARPSyndicate/kenzer-templates
- https://github.com/StarCrossPortal/scalpel
- https://github.com/anonymous364872/Rapier_Tool
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cve-id: CVE-2019-3912
cwe-id: CWE-601
epss-score: 0.04966
epss-percentile: 0.9226
cpe: cpe:2.3:a:labkey:labkey_server:*:*:*:*:community:*:*:*
metadata:
max-request: 1
vendor: labkey
product: labkey_server
shodan-query:
- 'Server: Labkey'
- 'http.title:"sign in: /home"'
- "server: labkey"
fofa-query: 'title="sign in: /home"'
google-query: 'intitle:"sign in: /home"'
tags: cve2019,cve,tenable,redirect,labkey,vuln
http:
- method: GET
path:
- '{{BaseURL}}/labkey/__r1/login-login.view?returnUrl=http://interact.sh'
matchers:
- type: regex
part: header
regex:
- '(?m)^(?:Location\s*?:\s*?)(?:https?:\/\/|\/\/|\/\\\\|\/\\)(?:[a-zA-Z0-9\-_\.@]*)interact\.sh\/?(\/|[^.].*)?$' # https://regex101.com/r/L403F0/1References
- https://www.tenable.com/security/research/tra-2019-03
- https://nvd.nist.gov/vuln/detail/CVE-2019-3912
- https://github.com/ARPSyndicate/kenzer-templates
- https://github.com/StarCrossPortal/scalpel
- https://github.com/anonymous364872/Rapier_Tool
Use this check only on systems you are authorised to test. Where the data comes from