322 words
2 minutes
EYCC 2025 — Web Challenges

EYCC 2025 — Web Challenges#

EYCC Banner

Hello there! This write-up covers the Egyptian Youth Cybersecurity Competition (EYCC) web challenges I solved, focusing on the methods and techniques used.


First Challenge: Open Gate#

The link redirected me to this login page:

Open Gate Login

My first thought was that it was probably vulnerable to SQL injection, so I tried injecting:

a’ OR 1=1 --

And the flag appeared!


Second Challenge: Secure Shop#

This time it was a search page:

Secure Shop Search

By inspecting the page with developer tools, I found the flag laying there:

Flag in Source

I suspected the challenge should be solved in another way. The JavaScript function was converting ASCII values to normal characters and saving it in a variable called flag.

Then I checked if the website was vulnerable to XSS by testing:

<script>alert(1)</script>

It worked!

XSS Test

Next, I copied the JavaScript code from the page into the search bar, added an alert to reveal the flag:

<script>
var codes = [101, 121, 99, 99, 123, 101, 102, 108, 99, 107, 102,
106, 101, 110, 99, 108, 97, 107, 101, 102, 125];
var flag = String.fromCharCode.apply(null, codes);
alert(flag);
</script>

The site blocked input on reload, so I ran the script locally to view the flag:

Flag Revealed


Third Challenge: Whisper Box#

The webpage itself had nothing special:

Whisper Box

I viewed the page source and found some credentials:

Credentials

My first thought was to send a POST request with these credentials using cURL:

cURL Post

And here’s the flag!


Fourth Challenge: Secure Bank#

To solve this challenge and get the flag, our mission was to make a CSRF PoC for the password changing page of a provided website.

The login page:

Bank Login

After logging in with provided credentials (user & password), the dashboard appeared:

Dashboard

I checked the password changing page and captured the request using Burp Suite:

Burp Capture

Then I copied the request to CSRF Shark and created a CSRF PoC:

CSRF PoC

Finally, I submitted the PoC after adding the no-referrer meta tag (mandatory for acceptance):

PoC Submitted

Et voila!

Flag Success


And that’s it! Don’t forget to check my other write-ups for the Crypto, Forensics, and OSINT challenges!

EYCC 2025 — Web Challenges
https://ssumix.vercel.app/posts/eycc/web-eycc-write-up/
Author
0xSky
Published at
2025-09-07
License
CC BY-NC-SA 4.0