Skip to content

Enable challenge 53 for CTF, add the gdb to desktop container #2075

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 30, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Enable challenge 53 for CTF, add the gdb to desktop container
  • Loading branch information
commjoen committed Jun 28, 2025
commit fed0a7fe91f26363619f2a26f40db8f7fc8f489f
2 changes: 1 addition & 1 deletion Dockerfile_webdesktop
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN \

RUN \
echo "**** install packages ****" && \
apk add --no-cache shadow keepassxc radare2 aws-cli geany git build-base icu-libs icu-data-full&& \
apk add --no-cache shadow keepassxc radare2 aws-cli geany git gdb build-base icu-libs icu-data-full&& \
echo "**** adding abc user to root for Docker ****" && \
usermod -aG root abc && \
touch /var/run/docker.sock && \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile_webdesktopk8s
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN \

RUN \
echo "**** install packages ****" && \
apk add --no-cache shadow keepassxc radare2 aws-cli geany git build-base icu-libs icu-data-full && \
apk add --no-cache shadow keepassxc radare2 aws-cli geany git gdb build-base icu-libs icu-data-full && \
echo "**** adding abc user to root for Docker ****" && \
usermod -aG root abc && \
touch /var/run/docker.sock && \
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/explanations/challenge53.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

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.

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.
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.

Can you uncover the secret?
2 changes: 1 addition & 1 deletion src/main/resources/wrong-secrets-configuration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -839,7 +839,7 @@ configurations:
difficulty: *hard
category: *secrets
ctf:
enabled: false
enabled: true

- name: Challenge 54
short-name: "challenge-54"
Expand Down
Loading