Skip to content

Commit 5c58473

Browse files
committed
docs: Add Attack Scenario #1
1 parent a7988cf commit 5c58473

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

2019/en/0xa7-security-misconfiguration.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ A7:2019 Security Misconfiguration
1212

1313
### Scenario #1
1414

15+
An attacker finds .bash_history file under the root of the server which has in
16+
its content commands used by DevOps to access the API:
17+
`$ curl -X GET 'https://api.server/endpoint/' -H 'authorization: Basic Zm9vOmJhcg=='`.
18+
An attacker could also find new endpoints on the API that are not documented and
19+
used only by DevOps.
20+
1521
### Scenario #2
1622

1723
To target a specific service, an attacker searches the API hostname on a popular

0 commit comments

Comments
 (0)