Vulnerability Detail Report
Vulnerability Overview
- ZDID: ZD-2023-00206
- Vendor: 台中市政府
- Title: 台中市政府 開發者介面資訊洩漏
- Introduction: Appollo Graphql server未關閉playground和introspection功能導致API資訊洩漏
處理狀態
目前狀態
公開
Last Update : 2023/07/18
-
新提交
-
已審核
-
已通報
-
未回報修補狀況
-
未複測
-
公開
處理歷程
- 2023/05/18 10:59:32 : 新提交 (由 shy w1nd 更新此狀態)
- 2023/05/20 01:11:32 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2023/05/29 21:06:49 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2023/05/29 21:06:49 : 審核完成 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2023/05/29 21:06:49 : 修補中 (由 HITCON ZeroDay 服務團隊 更新此狀態)
- 2023/07/18 03:00:06 : 公開 (由 HITCON ZeroDay 平台自動更新)
詳細資料
- ZDID:ZD-2023-00206
- 通報者:shyw1nd (shy w1nd)
- 風險:低
- 類型:資訊洩漏 (Information Leakage)
參考資料
攻擊者可利用洩漏資訊進行下一步攻擊行為。
OWASP 漏洞說明 (Top 10 2017 - A3 Sensitive Data Exposure)
https://www.owasp.org/index.php/Top_10-2017_A3-Sensitive_Data_Exposure
CWE-200 漏洞說明
https://cwe.mitre.org/data/definitions/200.html
OWASP 漏洞說明 (Top 10 2017 - A3 Sensitive Data Exposure)
https://www.owasp.org/index.php/Top_10-2017_A3-Sensitive_Data_Exposure
CWE-200 漏洞說明
https://cwe.mitre.org/data/definitions/200.html
(本欄位資訊由系統根據漏洞類別自動產生,做為漏洞參考資料。)
相關網址
https://citybus.taichung.gov.tw/ebus/strapi/graphql
敘述
漏洞種類: 資訊洩漏
漏洞描述: Appollo Graphql server未關閉playground和introspection功能導致API資訊洩漏
重現漏洞方式: 直接連線到https://citybus.taichung.gov.tw/ebus/strapi/graphql
影響: API資訊洩漏和參數提示
螢幕截圖:
修補建議
將相關設定改為不在生產環境開啟
const server = new ApolloServer({
typeDefs,
resolvers,
introspection: process.env.NODE_ENV !== 'production',
playground: process.env.NODE_ENV !== 'production'
});
ref:
https://www.apollographql.com/docs/apollo-server/v2/testing/graphql-playground/#:~:text=%E2%9A%A0%EF%B8%8F%20Apollo%20Server%202's%20GraphQL,and%20end%2Dof%2Dlife.
https://www.apollographql.com/blog/graphql/security/why-you-should-disable-graphql-introspection-in-production/
擷圖
留言討論
登入後留言
聯絡組織
發送私人訊息
您也可以透過私人訊息的方式與組織聯繫,討論有關於這個漏洞的相關資訊。