apache / apache/cloudstack

Hide VPN users' passwords in virtual router (use PAP instead of CHAP)

未关闭
#10,024 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
status:needs-investigation type:improvement type:security
主要语言
Java
星标
3.1k
派生
1.4k
平均合并
6 天 19 小时
30 天内合并 PR
32

描述

##### 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.
~~~

贡献指南

打开贡献指南

调研方向

从虚拟路由器的 Remote Access VPN Service 配置流程入手,检查 /etc/ppp/chap-secrets 的生成方式。在更改行为之前,确定受支持的身份验证方式及其安全影响。完成标准是 VPN 凭据不以明文存储,并且相关的 VPN 覆盖范围能够验证结果。

由索引模型根据 Issue 内容生成。

评估

领域
networking, security
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。