Перейти к содержимому
New

DeepSeek V4.1 Flash free for 7 days: 10M tokens a day after a top-up of $10 or more. Until Nov 30.

How it works
noorqureshi/web-file-uploadВеб и bug bounty

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 часа назад

Установка

Ещё нет NotHoly CLI? Сначала установите её.

$ curl -fsSL https://notholy.com/install.sh | sh
$ notholy skills install noorqureshi/web-file-upload

Пишет в ⁦~/.notholy/skills⁩ после проверки подписи и SHA-256.

ПодписьПодписано, ed25519
jCSN01BLyu…J6aI82AQ==CLI проверяет SHA-256 и подпись, прежде чем записать хоть один файл.
Пакет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.md next to this file — work the set, not the first line.

  1. Find the after-upload behaviour: where is it stored, what URL serves it, what parses it?
  2. RCE via executable extension when uploads are under a script-executing webroot: upload shell.php; if blocked, try .phtml .php5 .phar, double ext shell.php.jpg, null byte shell.php%00.jpg, case .pHp, trailing dot/space, or a polyglot (valid JPEG + PHP in a comment) with a .php name.
  3. Content-Type / magic-byte bypass: keep a real image header (GIF89a;) then payload; change the multipart Content-Type to image/png while the name stays .php.
  4. 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.
  5. Path traversal in filename: ../../var/www/html/shell.php to 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.

Файлы этой версии

Права

ПравоЗаявленоНайдено проверкой
Читает файлыНетНет
Пишет файлыНетНет
Выполняет команды shellНетНет
Ходит в сетьНетНет
Использует коннекторыНетНет
Управляет браузеромНетНет

Замечания проверки

Проверено 13 нояб. 2026 г.

Проверка не нашла в этой версии ничего подозрительного.

Чистая проверка снижает риск, но не доказывает, что пакет безопасен. Читайте то, что ставите.

ВерсияОпубликованаКоммитSHA-256ПодписьИзменение прав
v2026.10.14-ee0e0c513 нояб. 2026 г.ee0e0c558f8aee5Подписана–

Спрашивайте обо всём, что позволяет ваш скоуп.

Создайте аккаунт, пополните баланс и задайте первый вопрос в чате или в терминале.

  1. 1/3

    Создайте аккаунт

    Личный или для компании. Позже можно перейти на аккаунт компании без потери баланса и ключей.

    ЛичныйКомпания
  2. 2/3

    Пополните баланс

    Картой. Оплата за токены, без подписки.

    $5.00минимальное пополнение
  3. 3/3

    Спрашивайте

    В чате, или установите CLI и выполните notholy login в терминале.

    $ notholy login