Hide VPN users' passwords in virtual router (use PAP instead of CHAP)
- Lenguaje dominante
- Java
- Estrellas
- 3.1k
- Forks
- 1.4k
- Merge medio
- 6 d 19 h
- PR fusionados (30 d)
- 32
Descripción
##### ISSUE TYPE
* Improvement Request
##### COMPONENT NAME
~~~
Remote Access VPN Services (L2TP-over-IPsec)
~~~
##### CLOUDSTACK VERSION
~~~
4.19, 4.20
~~~
##### CONFIGURATION
- Remote Access VPN Service enabled on guest networks or VPCs
- Create VPN Users
##### SUMMARY
The users' credentials for the VPN remote access service are in plaintext in /etc/ppp/chap-secrets file. Even though the VRs are secured and only the platform administrators have access to them, it is not a good practice and and may even have security consequences to leave the passwords in plain text.
It would be a good improvement if it were possible to hashing this data (or something like that).
##### STEPS TO REPRODUCE
~~~
- Enable VPN remote access service in guest network or VPC
- Create a VPN User
- Verify that the /etc/ppp/chap-secrets file on the virtual router contains the VPN user credentials in plaintext.
~~~
##### EXPECTED RESULTS
~~~
User credentials should not be in plaintext.
~~~
##### ACTUAL RESULTS
~~~
User credentials are in plaintext.
~~~
Guía de contribución
Línea de trabajo
Comienza por la ruta de aprovisionamiento de Remote Access VPN Service para routers virtuales e inspecciona cómo se genera /etc/ppp/chap-secrets. Determina el enfoque de autenticación compatible y sus implicaciones de seguridad antes de cambiar el comportamiento. Se considera completado cuando las credenciales de VPN no se almacenan en texto plano y la cobertura relevante de VPN verifica el resultado.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Área
- networking, security
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100