vared
vared - Blog
vared
전체 방문자
오늘
어제
  • 분류 전체보기 (138)
    • Study (0)
    • Project (0)
    • Paper Review (0)
    • Tool (0)
    • WriteUp (124)
      • Root-me.org (44)
      • LOS_rubiya (32)
      • Webhacking.kr (21)
      • DreamHack (9)
      • XCZ.kr (8)
      • HackCTF (10)
    • Miscellaneous (0)
    • Forensic-CheatSheet (10)

블로그 메뉴

  • Category

공지사항

  • Forensic-CheatSheet 오픈

인기 글

태그

  • Windows Artifact
  • shellbag
  • Digital Forensic
  • sql injection
  • Los
  • File Execution
  • digital-forensics
  • iconcahce
  • forensic artifacts
  • forensic-cheatsheet
  • Thumbcache
  • trim
  • shellbag forensics
  • ssd
  • Digital-Forensic
  • Artifacts
  • webhacking.kr
  • JavaScript
  • LNK FIile

최근 댓글

최근 글

티스토리

hELLO · Designed By 정상우.
vared

vared - Blog

Root-me : [Web_Server]File upload - MIME
WriteUp/Root-me.org

Root-me : [Web_Server]File upload - MIME

2020. 8. 4. 10:11

 

이전 문제랑 동일 한거같은데, 이제 확장자 필터링 하는 부분이 다를 것 같다.

이전 문제랑 같은 접근으로, 이름에 힌트가 있는 것은 확실하다.

MIME type 가 뭔지 알아보자. -> http로 전달할때 문서의 type를 전달하는 것.

 

MIME를 보고 필터링 하는거 같다. 그렇다면 burp 같은 걸로 잡아서 MIME 를 변조한 뒤 전달해주면 될 것 같으니 시도해 보도록 하자.

 

 

현재 MIME type 이 application/octet-stream 이다.

이를 image/jpg 로 변조해서 전달하면 pass할 수 있을 것이다.

하지만 이전 문제 필터링이랑 같이 사용한다면 pass 할 수 없다.

 

일단 파일 업로드한 것을 실행해 보자.

 

동일한 경로상에 존재하는 것을 확인할 수 있다.

저작자표시 (새창열림)

'WriteUp > Root-me.org' 카테고리의 다른 글

Command & Control - level 2  (0) 2020.08.11
Root-me : [Web_Server]HTTP - Cookies  (0) 2020.08.04
Root-me : [Web_Server]File upload - Double extensions  (0) 2020.08.04
Root-me : [Web_Server]Install files  (0) 2020.07.31
Root-me : [Web_Server] HTTP - Verb tampering  (0) 2020.07.31
    'WriteUp/Root-me.org' 카테고리의 다른 글
    • Command & Control - level 2
    • Root-me : [Web_Server]HTTP - Cookies
    • Root-me : [Web_Server]File upload - Double extensions
    • Root-me : [Web_Server]Install files
    vared
    vared

    티스토리툴바