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 摘要。