POJIA破甲
地图 / SSRF via potential filter bypass with too lax local domain checking

SSRF via potential filter bypass with too lax local domain checking

服务端请求伪造 / SSRF / #1608039

厂商
Nextcloud
严重程度
低危 · CVSS 3
赏金
$250
弱点
SSRF
研究员
@tomorrowisnew_
披露日期
2022-09-16
资产
nextcloud/server
CVE
CVE-2022-39211

该报告还没有中文解读。

原文摘录

摘自原文(1795 字符中的一小部分)
Summary: Hi. Reviewing the code for filtering for ssrf, in `preventLocalAddress`, we can see that it calls the function `ThrowIfLocalAddress()`. It has three common checks, first, it checks if the string is `localhost`, or if it ends in `.local` or `.localhost`
原文中的代码
		// Disallow localhost and local network
		if ($host === 'localhost' || substr($host, -6) === '.local' || substr($host, -10) === '.localhost') {
			$this->logger->warning("Host $host was not connected to because it violates local access rules");
			throw new LocalServerException('Host violates …

默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Nextcloud 所有。

时间线

  • 报告提交
  • 公开披露
阅读 HackerOne 原文 ↗作者 @tomorrowisnew_ · 版权归作者与 Nextcloud 所有

同类报告

SSRF in Exchange leads to ROOT access in all instancesShopify · 2018-05-23Server Side Request Forgery (SSRF) via Analytics ReportsHackerOne · 2023-12-08 · $25,000Server-Side Request Forgery using Javascript allows to exfill data from Google MetadataSnapchat · 2020-11-30Server Side Request Forgery (SSRF) at app.hellosign.com leads to AWS private keys disclosureDropbox · — · $4,913SSRF on project import via the remote_attachment_url on a NoteGitLab · 2020-06-07 · $10,000Server Side Request Forgery mitigation bypassGitLab · 2020-04-18