CVE-2022-1884
| Summary |
A remote command execution vulnerability exists in gogs/gogs versions <=0.12.7 when deployed on a Windows server. The vulnerability arises due to improper validation of the `tree_path` parameter during file uploads. An attacker can set `tree_path=.git.` to upload a file into the .git directory, allowing them to write or rewrite the `.git/config` file. If the `core.sshCommand` is set, this can lead to remote command execution.
|
| Publication Date |
Nov. 15, 2024, 8:15 p.m. |
| Registration Date |
Nov. 16, 2024, 5:01 a.m. |
| Last Update |
Nov. 19, 2024, 11:47 p.m. |
|
CVSS3.1 : CRITICAL
|
| スコア |
9.8
|
| Vector |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 攻撃元区分(AV) |
ネットワーク |
| 攻撃条件の複雑さ(AC) |
低 |
| 攻撃に必要な特権レベル(PR) |
不要 |
| 利用者の関与(UI) |
不要 |
| 影響の想定範囲(S) |
変更なし |
| 機密性への影響(C) |
高 |
| 完全性への影響(I) |
高 |
| 可用性への影響(A) |
高 |
Affected software configurations
| Configuration1 |
or higher |
or less |
more than |
less than |
| cpe:2.3:a:gogs:gogs:*:*:*:*:*:*:*:* |
|
0.12.7 |
|
|
| execution environment |
| 1 |
cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:* |
Related information, measures and tools
Common Vulnerabilities List
JVN Vulnerability Information
Gogs の gogs におけるコマンドインジェクションの脆弱性
| Title |
Gogs の gogs におけるコマンドインジェクションの脆弱性
|
| Summary |
Gogs の gogs には、コマンドインジェクションの脆弱性が存在します。
|
| Possible impacts |
情報を取得される、情報を改ざんされる、およびサービス運用妨害 (DoS) 状態にされる可能性があります。 |
| Solution |
参考情報を参照して適切な対策を実施してください。 |
| Publication Date |
May 25, 2022, midnight |
| Registration Date |
Nov. 20, 2024, 2:52 p.m. |
| Last Update |
Nov. 20, 2024, 2:52 p.m. |
Affected System
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
その他
Change Log
| No |
Changed Details |
Date of change |
| 1 |
[2024年11月20日] 掲載 |
Nov. 20, 2024, 2:52 p.m. |