mirror of
https://github.com/fkie-cad/nvd-json-data-feeds.git
synced 2025-05-28 09:11:28 +00:00
129 lines
6.3 KiB
JSON
129 lines
6.3 KiB
JSON
{
|
|
"id": "CVE-2020-4071",
|
|
"sourceIdentifier": "security-advisories@github.com",
|
|
"published": "2020-06-24T13:15:11.833",
|
|
"lastModified": "2023-11-07T03:23:11.340",
|
|
"vulnStatus": "Modified",
|
|
"descriptions": [
|
|
{
|
|
"lang": "en",
|
|
"value": "In django-basic-auth-ip-whitelist before 0.3.4, a potential timing attack exists on websites where the basic authentication is used or configured, i.e. BASIC_AUTH_LOGIN and BASIC_AUTH_PASSWORD is set. Currently the string comparison between configured credentials and the ones provided by users is performed through a character-by-character string comparison. This enables a possibility that attacker may time the time it takes the server to validate different usernames and password, and use this knowledge to work out the valid credentials. This attack is understood not to be realistic over the Internet. However, it may be achieved from within local networks where the website is hosted, e.g. from inside a data centre where a website's server is located. Sites protected by IP address whitelisting only are unaffected by this vulnerability. This vulnerability has been fixed on version 0.3.4 of django-basic-auth-ip-whitelist. Update to version 0.3.4 as soon as possible and change basic authentication username and password configured on a Django project using this package. A workaround without upgrading to version 0.3.4 is to stop using basic authentication and use the IP whitelisting component only. It can be achieved by not setting BASIC_AUTH_LOGIN and BASIC_AUTH_PASSWORD in Django project settings."
|
|
},
|
|
{
|
|
"lang": "es",
|
|
"value": "En django-basic-auth-ip-whitelist versiones anteriores a 0.3.4, se presenta un posible ataque de sincronizaci\u00f3n en los sitios web donde es usada o configurada la autenticaci\u00f3n b\u00e1sica, es decir, es configurada BASIC_AUTH_LOGIN y BASIC_AUTH_PASSWORD. Actualmente, la comparaci\u00f3n de cadenas entre las credenciales configuradas y las proporcionadas por los usuarios es llevada a cabo por medio de una comparaci\u00f3n de cadena car\u00e1cter por car\u00e1cter. Esto permite una posibilidad de que un atacante tome el tiempo que le toma al servidor para comprobar diferentes nombres de usuario y contrase\u00f1as, y usar este conocimiento para obtener las credenciales validas. Se entiende que este ataque no es realista en Internet. Sin embargo, puede lograrse desde las redes locales donde est\u00e1 alojado el sitio web, por ejemplo desde el interior de un centro de datos donde est\u00e1 ubicado el servidor de un sitio web. Los sitios protegidos por la lista blanca de direcciones IP no solo est\u00e1n afectados por esta vulnerabilidad. Esta vulnerabilidad ha sido corregida en la versi\u00f3n 0.3.4 de django-basic-auth-ip-whitelist. Actualice a la versi\u00f3n 0.3.4 lo antes posible y cambie el nombre de usuario y la contrase\u00f1a de autenticaci\u00f3n b\u00e1sica configurados en un proyecto de Django con este paquete. Una soluci\u00f3n alternativa sin actualizar a la versi\u00f3n 0.3.4 es dejar de usar la autenticaci\u00f3n b\u00e1sica y usar solo el componente IP whitelisting. Se puede lograr al no configurar BASIC_AUTH_LOGIN y BASIC_AUTH_PASSWORD en la configuraci\u00f3n del proyecto Django"
|
|
}
|
|
],
|
|
"metrics": {
|
|
"cvssMetricV31": [
|
|
{
|
|
"source": "nvd@nist.gov",
|
|
"type": "Primary",
|
|
"cvssData": {
|
|
"version": "3.1",
|
|
"vectorString": "CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N",
|
|
"attackVector": "PHYSICAL",
|
|
"attackComplexity": "LOW",
|
|
"privilegesRequired": "NONE",
|
|
"userInteraction": "NONE",
|
|
"scope": "UNCHANGED",
|
|
"confidentialityImpact": "LOW",
|
|
"integrityImpact": "NONE",
|
|
"availabilityImpact": "NONE",
|
|
"baseScore": 2.4,
|
|
"baseSeverity": "LOW"
|
|
},
|
|
"exploitabilityScore": 0.9,
|
|
"impactScore": 1.4
|
|
},
|
|
{
|
|
"source": "a0819718-46f1-4df5-94e2-005712e83aaa",
|
|
"type": "Secondary",
|
|
"cvssData": {
|
|
"version": "3.1",
|
|
"vectorString": "CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N",
|
|
"attackVector": "PHYSICAL",
|
|
"attackComplexity": "HIGH",
|
|
"privilegesRequired": "NONE",
|
|
"userInteraction": "NONE",
|
|
"scope": "CHANGED",
|
|
"confidentialityImpact": "LOW",
|
|
"integrityImpact": "NONE",
|
|
"availabilityImpact": "NONE",
|
|
"baseScore": 2.2,
|
|
"baseSeverity": "LOW"
|
|
},
|
|
"exploitabilityScore": 0.5,
|
|
"impactScore": 1.4
|
|
}
|
|
],
|
|
"cvssMetricV2": [
|
|
{
|
|
"source": "nvd@nist.gov",
|
|
"type": "Primary",
|
|
"cvssData": {
|
|
"version": "2.0",
|
|
"vectorString": "AV:L/AC:L/Au:N/C:P/I:N/A:N",
|
|
"accessVector": "LOCAL",
|
|
"accessComplexity": "LOW",
|
|
"authentication": "NONE",
|
|
"confidentialityImpact": "PARTIAL",
|
|
"integrityImpact": "NONE",
|
|
"availabilityImpact": "NONE",
|
|
"baseScore": 2.1
|
|
},
|
|
"baseSeverity": "LOW",
|
|
"exploitabilityScore": 3.9,
|
|
"impactScore": 2.9,
|
|
"acInsufInfo": false,
|
|
"obtainAllPrivilege": false,
|
|
"obtainUserPrivilege": false,
|
|
"obtainOtherPrivilege": false,
|
|
"userInteractionRequired": false
|
|
}
|
|
]
|
|
},
|
|
"weaknesses": [
|
|
{
|
|
"source": "a0819718-46f1-4df5-94e2-005712e83aaa",
|
|
"type": "Primary",
|
|
"description": [
|
|
{
|
|
"lang": "en",
|
|
"value": "CWE-208"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"configurations": [
|
|
{
|
|
"nodes": [
|
|
{
|
|
"operator": "OR",
|
|
"negate": false,
|
|
"cpeMatch": [
|
|
{
|
|
"vulnerable": true,
|
|
"criteria": "cpe:2.3:a:django-basic-auth-ip-whitelist_project:django-basic-auth-ip-whitelist:*:*:*:*:*:*:*:*",
|
|
"versionEndExcluding": "0.3.4",
|
|
"matchCriteriaId": "556C6FB5-D371-4726-868D-8D26D530AFEE"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"references": [
|
|
{
|
|
"url": "https://github.com/tm-kn/django-basic-auth-ip-whitelist/security/advisories/GHSA-m38j-pmg3-v5x5",
|
|
"source": "security-advisories@github.com",
|
|
"tags": [
|
|
"Third Party Advisory"
|
|
]
|
|
},
|
|
{
|
|
"url": "https://groups.google.com/forum/#%21msg/django-developers/iAaq0pvHXuA/fpUuwjK3i2wJ",
|
|
"source": "security-advisories@github.com"
|
|
}
|
|
]
|
|
} |