FixVibe

// 프로브 / 스포트라이트

파일 업로드 검증

사용자가 업로드한 파일은 임의의 바이트예요 — 검증 없이 '이미지'로 받아들이는 건 RCE를 부르는 길이에요.

핵심

File upload is one of the most varied attack surfaces in web applications because every layer between the user clicking 'attach' and the file being served back has its own failure modes. Client-side validation is bypassable by definition. Server-side validation by extension is bypassable by content-type spoofing. Storage in a web-served directory turns 'profile picture' into 'web shell.' SVGs are HTML in disguise. PDFs can contain JavaScript. Even legitimate images contain enough metadata to leak GPS coordinates of the user's bedroom. The bug is rarely in any one check — it's in the gap between checks.

어떻게 동작하나요

File-upload weaknesses appear when applications accept, store, or serve uploaded content without strict validation and isolation. The impact ranges from stored script execution to content spoofing or resource abuse.

피해 범위

Web shell upload graduates to remote code execution as the web server user — full host compromise from there. SVG-based XSS captures sessions of every user who views the malicious avatar. Storage exhaustion / DoS when no size cap is enforced. Hosting illegal content on your CDN brings legal liability you didn't sign up for. Path traversal can overwrite application code or config files. Image metadata (EXIF) leaks GPS, device info, software fingerprints — privacy and stalking concerns even when no execution happens.

// what fixvibe checks

What FixVibe checks

FixVibe checks this class with verified-domain active testing that is bounded, non-destructive, and evidence-driven. Public reports describe the affected surface and remediation. For check-specific questions about exact detection heuristics, active payload details, or source-code rule patterns, contact support@fixvibe.app.

확실한 방어

Validate by file content, not by extension or claimed MIME type. Read the magic bytes (the first ~8-12 bytes that identify a file format) and verify they match what the user said the file is. For images, re-encode through a server-side processor (sharp, ImageMagick — patched, sandboxed) — this strips EXIF, normalizes the format, and discards weird embedded payloads. Store uploads outside the web root entirely, or in a dedicated storage bucket (S3, R2, GCS) with no execute permission. Serve uploaded files from a separate domain (`uploads.yourapp.com`, not `yourapp.com/uploads`) with a restrictive Content-Security-Policy preventing script execution; this contains SVG-XSS to a sandboxed origin. Generate non-guessable filenames server-side (UUIDs, never the user's filename). Limit file size aggressively at the HTTP layer (nginx `client_max_body_size`, framework body-size middleware). Reject SVG entirely unless your use case truly requires it; if it does, run uploads through DOMPurify with SVG mode. For ZIP/archive uploads, use a battle-tested extractor that resolves and verifies each entry path is within the target directory.

// 내 앱에서 직접 실행해보세요

FixVibe가 지켜보는 동안 계속 배포하세요.

FixVibe는 공격자가 보는 것처럼 앱의 공개 영역을 압박 테스트합니다 — 에이전트도, 설치도, 카드도 필요 없어요. 새로운 취약점 패턴을 계속 연구해 실용적인 체크와 Cursor, Claude, Copilot에 바로 붙여넣을 수 있는 수정안으로 바꿉니다.

능동 프로브
103
이 카테고리에서 실행되는 테스트
모듈
27
전용 능동 프로브 검사
매 스캔
384+
모든 카테고리 합계 테스트
  • 무료 — 카드 없이, 설치 없이, Slack 알림 없이
  • URL만 붙여넣으세요 — 크롤, 탐지, 보고는 저희가
  • 심각도별 분류, 중복 제거된 신호만
  • 최신 AI 수정 프롬프트를 Cursor, Claude, Copilot에 바로 붙여넣기
무료 스캔 실행

// 최신 체크 · 실용적인 수정 · 자신 있게 배포

파일 업로드 검증 — 취약점 스포트라이트 | FixVibe · FixVibe