owlting.com Possible RCE with No-authentication Control - HITCON ZeroDay

Vulnerability Detail Report

Vulnerability Overview

  • ZDID: ZD-2024-00875
  •  發信 Vendor: owlting.com
  • Title: owlting.com Possible RCE with No-authentication Control
  • Introduction: No-auth CI server to possible RCE

處理狀態

目前狀態

公開
Last Update : 2024/10/05
  • 新提交
  • 已審核
  • 已通報
  • 未回報修補狀況
  • 未複測
  • 公開

處理歷程

  • 2024/08/05 22:40:35 : 新提交 (由 dx0xff 更新此狀態)
  • 2024/08/06 22:44:41 : 審核中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2024/08/08 09:57:39 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2024/08/12 18:57:03 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2024/08/12 18:57:03 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2024/08/12 18:57:03 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
  • 2024/10/05 03:00:13 : 公開 (由 HITCON ZeroDay 平台自動更新)

詳細資料

  • ZDID:ZD-2024-00875
  • 通報者:dx0xfc (dx0xff)
  • 風險:嚴重
  • 類型:遠端命令執行 (Remote Code Execution)

參考資料

攻擊者可經由該漏洞取得主機完整權限、任意寫入檔案及取得大量內網資訊。

漏洞說明: OWASP - Code Injection
https://www.owasp.org/index.php/Code_Injection

漏洞說明: OWASP - Command Injection
https://www.owasp.org/index.php/Command_Injection

漏洞說明: CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')
http://cwe.mitre.org/data/definitions/77.html

漏洞說明: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
http://cwe.mitre.org/data/definitions/78.html
(本欄位資訊由系統根據漏洞類別自動產生,做為漏洞參考資料。)

相關網址

drone.owlting.com

敘述

0. Recon

Found via fuzzing the domain *.owlting.com

圖片

1. Exploits

Following the URL drone[.]owlting.com, A prompt from GitHub will request authorization.
圖片

Next, sign on using a GitHub account, it will direct you to a drone server.

圖片

Based on the naming and the logo with OSINT, we can discover the server is a CI server using Drone: https://docs.drone.io/

圖片

The provided credentials are available to retrieve drone data from the server.

圖片

NOTE:
According to the documentation of the drone server (ref: https://docs.drone.io/),
it should be available to execute code and possibly exploit some juicy information from it.
I WILL STOP FROM HERE. Feel free to ask for RCE if needed.

修補建議

1. Add appropriate access controls (e.g., Controls on GitHub Organization).
2. If it is an internal service, add IP restrictions for inbound control.

擷圖

留言討論

聯絡組織

 發送私人訊息
您也可以透過私人訊息的方式與組織聯繫,討論有關於這個漏洞的相關資訊。
;