apache / apache/cloudstack

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

オープン
#10,024 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る
status:needs-investigation type:improvement type:security
主要言語
Java
スター
3.1k
フォーク
1.4k
平均マージ
6日 19時間
マージ済み PR(30日)
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
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。