Skip to content

Commit d1e1754

Browse files
authored
Merge pull request #2075 from OWASP/challenge53
Enable challenge 53 for CTF, add the gdb to desktop container
2 parents 7caf1b4 + fed0a7f commit d1e1754

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Dockerfile_webdesktop

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ RUN \
99

1010
RUN \
1111
echo "**** install packages ****" && \
12-
apk add --no-cache shadow keepassxc radare2 aws-cli geany git build-base icu-libs icu-data-full&& \
12+
apk add --no-cache shadow keepassxc radare2 aws-cli geany git gdb build-base icu-libs icu-data-full&& \
1313
echo "**** adding abc user to root for Docker ****" && \
1414
usermod -aG root abc && \
1515
touch /var/run/docker.sock && \

Dockerfile_webdesktopk8s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ RUN \
99

1010
RUN \
1111
echo "**** install packages ****" && \
12-
apk add --no-cache shadow keepassxc radare2 aws-cli geany git build-base icu-libs icu-data-full && \
12+
apk add --no-cache shadow keepassxc radare2 aws-cli geany git gdb build-base icu-libs icu-data-full && \
1313
echo "**** adding abc user to root for Docker ****" && \
1414
usermod -aG root abc && \
1515
touch /var/run/docker.sock && \

src/main/resources/explanations/challenge53.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
Modern cloud environments often rely on debugging tools to troubleshoot issues in running applications. However, when debugging capabilities are left open in production, they can expose sensitive information.
44

5-
A Kubernetes deployment has been misconfigured, allowing developers to attach a debugging container to a running application. Inside this pod, a binary holds a secret in memory. Normally, this secret would be protected, but due to the debugging access, it becomes retrievable.
5+
A Kubernetes deployment has been misconfigured [challenge53](https://github.com/OWASP/wrongsecrets/blob/master/k8s/challenge53/secret-challenge53.yml), allowing developers to attach a debugging container to a running application. Inside this pod, a binary holds a secret in memory. Normally, this secret would be protected, but due to the debugging access, it becomes retrievable.
66

77
Can you uncover the secret?

src/main/resources/wrong-secrets-configuration.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -839,7 +839,7 @@ configurations:
839839
difficulty: *hard
840840
category: *secrets
841841
ctf:
842-
enabled: false
842+
enabled: true
843843

844844
- name: Challenge 54
845845
short-name: "challenge-54"

0 commit comments

Comments
 (0)