Potential Security Vulnerabilities
- 主要言語
- C#
- スター
- 699
- フォーク
- 180
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
## Summary
[ChristDDD](https://github.com/anjoy8/ChristDDD) is vulnerable to Cross-Site Scripting (XSS) and Cross-Site Request Forgery (CSRF) that may lead to the elevation of privileges and per-user denial of service (DoS).
## Details
### Issue 1: XSS (CVE-2018-0784)
The application doesn't have the fix for [CVE-2018-0784](https://github.com/aspnet/Announcements/issues/285) that was found in ASP.NET Core templates. It is vulnerable to XSS if the logged-in user is tricked into clicking a malicious link like `https://localhost:44315/manage/EnableAuthenticator?AuthenticatorUri=%22%3E%3C/div%3E%00%00%00%00%00%00%00%3Cscript%3Ealert(%22XSS%22)%3C/script%3E` and enters an invalid verification code. Mode details are available in [the blog post](https://kevinchalet.com/2018/01/09/why-you-should-never-use-html-raw-in-your-razor-views/).
#### Impact
This issue may lead to the elevation of privileges.
#### Remediation
Modify the code according to the instructions from [the advisory](https://github.com/aspnet/Announcements/issues/285).
### Issue 2: CSRF (CVE-2018-0785)
The application doesn't have the fix for [CVE-2018-0785](https://github.com/aspnet/Announcements/issues/284) that was found in ASP.NET Core templates. It is vulnerable to CSRF. A logged-in user with enabled Second Factor Authentication (2FA) may lose their recovery codes if they are tricked into clicking a link like `https://localhost:44315/manage/GenerateRecoveryCodes` or visit a malicious site that makes the request without the user's consent. As a result the user may be permanently locked out of their account after loosing access to their 2FA device, as the initial recovery codes would no longer be valid.
#### Impact
This issue may lead to the per-user DoS.
#### Remediation
Modify the code according to the instructions from [the advisory](https://github.com/aspnet/Announcements/issues/284).
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。