NVD Vulnerability Detail
Search Exploit, PoC
CVE-2020-15111
Summary

In Fiber before version 1.12.6, the filename that is given in c.Attachment() (https://docs.gofiber.io/ctx#attachment) is not escaped, and therefore vulnerable for a CRLF injection attack. I.e. an attacker could upload a custom filename and then give the link to the victim. With this filename, the attacker can change the name of the downloaded file, redirect to another site, change the authorization header, etc. A possible workaround is to serialize the input before passing it to ctx.Attachment().

Publication Date July 21, 2020, 3:15 a.m.
Registration Date Jan. 26, 2021, 11:53 a.m.
Last Update Nov. 21, 2024, 2:04 p.m.
CVSS3.1 : MEDIUM
スコア 5.4
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR) 不要
利用者の関与(UI)
影響の想定範囲(S) 変更なし
機密性への影響(C)
完全性への影響(I)
可用性への影響(A) なし
CVSS2.0 : MEDIUM
Score 5.8
Vector AV:N/AC:M/Au:N/C:P/I:P/A:N
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃前の認証要否(Au) 不要
機密性への影響(C)
完全性への影響(I)
可用性への影響(A) なし
Get all privileges. いいえ
Get user privileges いいえ
Get other privileges いいえ
User operation required はい
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:gofiber:fiber:*:*:*:*:*:*:*:* 1.12.6
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
Fiber におけるインジェクションに関する脆弱性
Title Fiber におけるインジェクションに関する脆弱性
Summary

Fiber には、インジェクションに関する脆弱性が存在します。

Possible impacts 情報を取得される、および情報を改ざんされる可能性があります。
Solution

ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date July 11, 2020, midnight
Registration Date Sept. 24, 2020, 5:49 p.m.
Last Update Sept. 24, 2020, 5:49 p.m.
Affected System
Gofiber
Fiber 1.12.6 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2020年09月24日]
  掲載
Sept. 24, 2020, 5:49 p.m.