Github Repo

Lobby

Description

lobby-1

The-Lobbyarrow-up-right

Solution

If you visit the given URL you'll be see a README.md

If you give it a quick read you'll notice some wierd symbols in the text.

I highlighted some:

lobby-2
circle-check

Comments

Description

comments-1

Solution

As mentioned in github repo you should navigate to Issues and sign up by commenting /join.

comments-2

After signing up CI/CD step is going to start and create repos:

Navigate to your repo in OctoHigh account, https://github.com/OctoHigh/challenge-1-{Your Github Handle}.

circle-info

You'll also recieve an email about joining

comments-3

Workflow:

The exploit in the yaml is shell command. If you take a look at TEACHER=$(echo '${{ github.event.issue.body }}' | grep -oP 'Teacher:.*$') there's no way to exploit it, because for some command to execute bash needs " (double quotes), nothing will happen in single quotes. Since there's no validation we can just escape single quotes ', add command, close the quote.

TLDR; sandwich the bash command into Issue Template.

comments-4

Payload:

Response on beeceptor:

circle-check

Fork Knife

Description

fork-knife-1
fork-knife-2

Sources

chevron-rightgrade.yamlhashtag
chevron-rightbuild.shhashtag
chevron-righttest.shhashtag

Solution

I modified build.sh and submission.c with following changes:

fork-knife-3
fork-knife-4

Not the most efficient way to do it, but works D:

Payload:

circle-check

Last updated