Skip to content

Instantly share code, notes, and snippets.

@andrey-lomtev
Last active December 7, 2021 12:41
Show Gist options
  • Save andrey-lomtev/c970fb7dd022d04f5b57ad37fbedd064 to your computer and use it in GitHub Desktop.
Save andrey-lomtev/c970fb7dd022d04f5b57ad37fbedd064 to your computer and use it in GitHub Desktop.
CVE-2021-37935
CVE-2021-37935
------------------------------------------
Disclose of LDAP server's domain name
------------------------------------------
[Suggested description]
An information disclosure vulnerability in the login page of Huntflow Enterprise before 3.10.4 could allow an unauthenticated, remote user to get information about the domain name of the configured LDAP server. An attacker could exploit this vulnerability by requesting the login page and searching for the "isLdap" JavaScript parameter in the HTML source code.
------------------------------------------
[Additional Information]
Partial content of login page /account/login:
<script>
var PASSWORD_POLICY = {"characters_requirements": {}};
var FORM_INFO = {
isLogin: true,
isLdap: "myaddomain.com",
initialValues: {
login: "",
password: ''
}
}
</script>
There is the domain name of the configured LDAP server in "isLdap" JavaScript parameter.
------------------------------------------
[VulnerabilityType Other]
CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
------------------------------------------
[Vendor of Product]
Huntflow
------------------------------------------
[Affected Product Code Base]
Huntflow Enterprise - Affected < 3.10.4. Fixed at 3.10.4. Tested at 3.6.1
------------------------------------------
[Affected Component]
"/account/login" Login page
------------------------------------------
[Attack Type]
Remote - unauthenticated users
------------------------------------------
[CVE Impact]
Information Disclouse
------------------------------------------
[Attack Vectors]
To exploit request login page
------------------------------------------
[Reference]
https://huntflow.ru
https://gist.github.com/andrey-lomtev/c970fb7dd022d04f5b57ad37fbedd064
------------------------------------------
[Has vendor confirmed or acknowledged the vulnerability?]
true
------------------------------------------
[Discoverer]
Andrey Lomtev
------------------------------------------
Andrey Lomtev / Infosec.ru team
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment