Subdomain takeover on *.apachecn.org

オープン
#1 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
github

調査の方向性

まず、issue に記載されているワイルドカード CNAME 設定と、what-i-want.apachecn.org にリンクされている proof of concept を確認します。apachecn.org が現在も任意のサブドメインを apachecn.github.io にルーティングしているか確認してください。ワイルドカード CNAME レコードが削除され、proof-of-concept サブドメインが攻撃者に制御されたコンテンツを提供しなくなれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Summary

The domain apachecn.org.io has a subdomain wildcard CNAME record pointing to apachecn.github.io. This allows an attacker to use any subdomain he wants on apachecn.org with Github pages.

Security issue

An attacker could create it's own repository and configure it to use any subdomain he wants, allowing him to serve it's own content.

POC

I have made a POC.

image

Remediation

Remove the wildcard CNAME record for apachecn.org.

Impact

This issue make it possible for an attacker to carry out several type of attacks like XSS, phishing campaign or session hijacking.

主要言語
HTML
スター
1
フォーク
1
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

似ている issue

DevOps の issue をもっと見る

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

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