Skip to content

Commit f135892

Browse files
committed
Feature #687: add basics for secret advisory (challenge 35)
1 parent 8ccc3f9 commit f135892

File tree

7 files changed

+22
-8
lines changed

7 files changed

+22
-8
lines changed

src/main/java/org/owasp/wrongsecrets/challenges/docker/Challenge36.java renamed to src/main/java/org/owasp/wrongsecrets/challenges/docker/Challenge35.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
@Slf4j
1616
@Component
1717
@Order(36)
18-
public class Challenge36 extends Challenge {
18+
public class Challenge35 extends Challenge {
1919

20-
public Challenge36(ScoreCard scoreCard) {
20+
public Challenge35(ScoreCard scoreCard) {
2121
super(scoreCard);
2222
}
2323

@@ -42,7 +42,7 @@ public int difficulty() {
4242
return Difficulty.EASY;
4343
}
4444

45-
/** {@inheritDoc} This is a crypto Documentation type of challenge */
45+
/** {@inheritDoc} This is a Documentation type of challenge */
4646
@Override
4747
public String getTech() {
4848
return ChallengeTechnology.Tech.DOCUMENTATION.id;
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
=== Reporting on Vulnerabilities
2+
3+
A security researcher found a Google API key and together with the project leader https://github.com/commjoen[@commjoen] made a https://github.com/OWASP/wrongsecrets/security/advisories/GHSA-vv4g-7gjw-fvqw[Security Advisory]. The only thing @commjoen dit wrong, was actually publish the API key as part of the advisory. Can you spot the key?
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
This is a documentation challenge, which can be solved by going to the Github Advisory.
2+
3+
1. Get to the key using the Github security advisory
4+
- Go to https://github.com/OWASP/wrongsecrets/security/advisories/GHSA-vv4g-7gjw-fvqw[the advisory].
5+
- Find the Google API key.
6+
- Copy it into the answer box.
7+
8+
2. Follow the Github security advisory information
9+
- Go to https://github.com/OWASP/wrongsecrets/security/advisories/GHSA-vv4g-7gjw-fvqw[the advisory].
10+
- Find the version that is impacted (1.6.8RC1).
11+
- Open the tag at https://github.com/OWASP/wrongsecrets/tree/1.6.8RC1[Github].
12+
- Find the Google API key in challenge 35.
13+
- Copy it into the answer box.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*Why we need to be careful with vulnerability reports*
2+
3+
When you report a vulnerability, or when you publish a security advisory, always be careful with the datails you spread with them. Hardcoded secrets found, especially those harder to rotate, should not be put into your security report itself and/or the publication.

src/main/resources/explanations/challenge36.adoc

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/main/resources/explanations/challenge36_hint.adoc

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/main/resources/explanations/challenge36_reason.adoc

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)