2019-06-08 22:40:28 -04:00
|
|
|
title: Source Code Enumeration Detection by Keyword
|
2019-11-12 23:12:27 +01:00
|
|
|
id: 953d460b-f810-420a-97a2-cfca4c98e602
|
2021-11-27 11:33:14 +01:00
|
|
|
status: test
|
2019-06-08 22:40:28 -04:00
|
|
|
description: Detects source code enumeration that use GET requests by keyword searches in URL strings
|
2019-11-12 23:12:27 +01:00
|
|
|
references:
|
2022-10-05 23:15:20 +02:00
|
|
|
- https://pentester.land/tutorials/2018/10/25/source-code-disclosure-via-exposed-git-folder.html
|
|
|
|
|
- https://medium.com/@logicbomb_1/bugbounty-how-i-was-able-to-download-the-source-code-of-indias-largest-telecom-service-52cf5c5640a1
|
2022-10-25 10:08:58 +02:00
|
|
|
author: James Ahearn
|
2024-08-12 12:02:50 +02:00
|
|
|
date: 2019-06-08
|
|
|
|
|
modified: 2022-10-05
|
2022-10-25 10:08:58 +02:00
|
|
|
tags:
|
|
|
|
|
- attack.discovery
|
|
|
|
|
- attack.t1083
|
2019-06-08 22:40:28 -04:00
|
|
|
logsource:
|
2022-10-05 23:15:20 +02:00
|
|
|
category: webserver
|
2019-06-08 22:40:28 -04:00
|
|
|
detection:
|
2022-10-05 23:15:20 +02:00
|
|
|
keywords:
|
|
|
|
|
- '.git/'
|
|
|
|
|
condition: keywords
|
2019-06-08 22:40:28 -04:00
|
|
|
fields:
|
2022-10-05 23:15:20 +02:00
|
|
|
- client_ip
|
|
|
|
|
- vhost
|
|
|
|
|
- url
|
|
|
|
|
- response
|
2019-06-08 22:40:28 -04:00
|
|
|
falsepositives:
|
2022-10-05 23:15:20 +02:00
|
|
|
- Unknown
|
2020-01-30 15:32:39 +01:00
|
|
|
level: medium
|