web-file-upload
Turn a file upload into RCE or stored XSS/SSRF. Load on any upload: avatars, attachments, import CSV/XML, profile images, document processors, "upload your resume". Signals: multipart/form-data, filename in response, an uploads/ path, image thumbnailing, PDF/office parsing.
v2026.10.14-ee0e0c54 התקנות+4 ב-7 ימים27 כוכביםMITסונכרן לפני 22 שעות
התקנה
עדיין אין לכם את ה-CLI של NotHoly? התקינו אותו קודם.
$ curl -fsSL https://notholy.com/install.sh | sh$ notholy skills install noorqureshi/web-file-uploadנכתב אל ~/.notholy/skills אחרי בדיקת החתימה וה-SHA-256.
חתימהחתום, ed25519
חבילה58f8aee5…655b2a6a
58f8aee5ff62…36c1655b2a6a3 קבצים · 4.0 KBסריקהנמוךאין ממצאים
מקורgithub.com/NoorQureshi/security-skills/tree/main/skills/web/web-file-upload@ee0e0c5
הפריט הזה עדיין לא נכתב בעברית, ולכן הוא מוצג בשפה אחרת: English.
בעמוד הזה
When it applies
The app accepts a file and later stores, serves, parses, or converts it. Impact depends on what happens to the file after upload — served from webroot? passed to a parser? rendered?
Why it works
Validation is usually on the wrong signal (extension or Content-Type, both attacker-set)
while the dangerous behaviour is downstream: the web server executes .php in the uploads
dir, a parser follows external entities, or the file is served with an HTML content-type.
Method
Payloads & full variation set:
cheatsheet.mdnext to this file — work the set, not the first line.
- Find the after-upload behaviour: where is it stored, what URL serves it, what parses it?
- RCE via executable extension when uploads are under a script-executing webroot:
upload
shell.php; if blocked, try.phtml .php5 .phar, double extshell.php.jpg, null byteshell.php%00.jpg, case.pHp, trailing dot/space, or a polyglot (valid JPEG + PHP in a comment) with a.phpname. - Content-Type / magic-byte bypass: keep a real image header (
GIF89a;) then payload; change the multipartContent-Typetoimage/pngwhile the name stays.php. - Parser-based: SVG upload → XSS/SSRF/XXE (SVG is XML+script); office/PDF → SSRF/XXE via external resources; image libraries (ImageMagick) → command exec via crafted files.
- Path traversal in filename:
../../var/www/html/shell.phpto escape the uploads dir.
Gotchas
- Upload succeeds but stored outside webroot / served as
text/plain→ no RCE; pivot to XSS/SSRF instead. - Random server-side filenames defeat direct access — look for a predictable/leaked path.
- WAF strips
<?php→ use<?=or<script language="php">.
Verify success
Browse to the uploaded script and get command output, or the SVG/XML fires in a victim context / triggers an OOB callback.
References
PortSwigger file-upload labs; OWASP Unrestricted File Upload.
הקבצים בגרסה הזו
- cheatsheet.md2.7 KB
- detection.md3.0 KB
- SKILL.md2.5 KB
הרשאות
| הרשאה | הוצהר | נמצא בסריקה |
|---|---|---|
| קורא קבצים | לא | לא |
| כותב קבצים | לא | לא |
| מריץ פקודות shell | לא | לא |
| משתמש ברשת | לא | לא |
| משתמש במחברים | לא | לא |
| שולט בדפדפן | לא | לא |
ממצאי הסריקה
נבדק ב-13 בנוב׳ 2026
הסריקה לא מצאה בגרסה הזו שום דבר שצריך לסמן.
סריקה נקייה מורידה את הסיכון, אבל לא מוכיחה שהחבילה בטוחה. כדאי לקרוא מה מתקינים.
| גרסה | פורסמה | Commit | SHA-256 | חתימה | שינוי בהרשאות |
|---|---|---|---|---|---|
| v2026.10.14-ee0e0c5 | 13 בנוב׳ 2026 | ee0e0c5 | 58f8aee5 | חתומה | – |
עוד מ-NoorQureshi
הכול מהמפרסם הזהעוד בקטגוריה Web ו-bug bounty
לקטגוריה- src-hunterzhaoxuya520/src-hunter5
- owasp-top10-analysissecurityskills/owasp-top10-analysis5
- testing-for-xml-injection-vulnerabilitiesmukul975/testing-for-xml-injection-vulnerabilities5
- offensive-xsssnailsploit/offensive-xss5
- offensive-rcesnailsploit/offensive-rce5
- source-review-techniqueaeondave/source-review-technique5
שאלו כל מה שהסקופ מאפשר.
יוצרים חשבון, מוסיפים קרדיטים ושואלים את השאלה הראשונה בצ׳אט או בטרמינל.
- 1/3
יצירת חשבון
פרטי או חברה. אפשר לעבור לחשבון חברה אחר כך בלי לאבד יתרה או מפתחות.
פרטיחברה - 2/3
הוספת קרדיטים
בכרטיס אשראי. תשלום לפי טוקן, בלי מנוי.
$5.00טעינה מינימלית - 3/3
שאלה ראשונה
בצ׳אט, או להתקין את ה-CLI ולהריץ notholy login בטרמינל.
$ notholy login