Biocheck

Description

Biocheck [Web]

ARIA has started making simple applications to display their intelligence, but they're still in a rough state. Break in, and discover the critical information!

https://uscybercombine-s4-biocheck.chals.io/arrow-up-right

Solution

We can query information about Historical figures, but we are limited to few people

Bio Check

If we inject quote (') we get 500 error, meaning there's probably SQL query usedBio Check-1

Check if SQLite3: Albert Einstein' UNION SELECT sqlite_version(); -- -Bio Check-2

PayloadsAllTheThings/SQL Injection/SQLite Injection.mdarrow-up-right

The database only holds figure records and that's it.

I was testing for SSTI since it's a Python server, but was going nowhere. Then I tried${{7*7}}

and the app crashed (added dollar), why? I think the only programming language that treats dollars as special characters is PHP or Bash, we are on Python server so that leaves Bash. Trying $0 shell variable we get runner program name:Bio Check-3

Payload: '; SELECT '$(ls)'; -- -Bio Check-4

Payload: ' UNION SELECT '$(grep "SIVBGR" . -Rain)' -- -

Bio Check-5
circle-check

Last updated