| タイトル | phpIPAM 1.x Cross Site Scripting |
|---|
| 説明 | $POST->deviceid is stripped of HTML tags by strip_tags(), but double quotes and event handlers are preserved. create_rack_link() concatenates $deviceId directly into a URL string of img's src without attribute escaping, reflecting it directly into the HTML response and browser execution contexts. An attacker can construct a crafted link containing JavaScript code. When a targeted user visits the link, the scripts execute within their active browser session context. This permits an attacker to perform Reflected Cross-Site Scripting (XSS), potentially leading to session hijacking, sensitive data exposure, or unauthorized actions performed on behalf of the victim. |
|---|
| ソース | ⚠️ https://gist.github.com/KHr00t/a7f3b2eea71d30ad7ccf65e1d47e502f |
|---|
| ユーザー | khroot (UID 42101) |
|---|
| 送信 | 2026年09月16日 07:00 (1 月 ago) |
|---|
| モデレーション | 2026年10月24日 09:17 (1 month later) |
|---|
| ステータス | 承諾済み |
|---|
| VulDBエントリ | 426076 [phpIPAM 迄 1.8.3 Rack Link Creation show-rack-popup.php create_rack_link deviceid クロスサイトスクリプティング] |
|---|
| ポイント | 20 |
|---|