๋ฌธ์ ํ๋ฉด.
query : select id from prob_cobolt where id='' and pw=md5('') ๋ฅผ ๋ณด๊ณ md5 ํด์ ํจ์๋ฅผ ์ฌ์ฉํ๋? ์ถ์๋ค.
์ผ๋จ php ์ฝ๋๋ฅผ ํ์ธํด๋ณด๋ฉด id๊ฐ admin์ด ๋์ด์ผ coblot๊ฐ ํ๋ฆฐ๋ค๊ณ ํ๋ค.
id๊ฐ์ admin์ ๋ฃ์ด์ฃผ๊ณ ๋ค๋ฅผ ์ฃผ์์ฒ๋ฆฌํด์ฃผ๋ฉด ๋ ๊ฒ ๊ฐ๋ค๊ณ ์๊ฐํ๋ค.
?id=admin'%23
ํด๋ฆฌ์ด~
'SWLUG > ์น ํดํน' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[los.rubiya.kr] orc (1) | 2023.10.07 |
---|---|
[los.rubiya.kr] goblin (1) | 2023.10.06 |
[LoS.Rubiya.kr] gremlin (0) | 2023.10.06 |
[Dreamhack/๋๋ฆผํต] simple_sqli (0) | 2023.10.06 |
[Dreamhack/๋๋ฆผํต] image-storage (1) | 2023.09.30 |