Skip to content
KitploitKITPLOIT
أدواتعمليات الاستغلالالمدونة
Log in
إرسال
أدواتعمليات الاستغلالالمدونة
إرسال

أدوات الاختراق واختبار الاختراق والأمن السيبراني لترسانتك الأمنية!

Kitploit هو دليل لأدوات الاختراق والأمن السيبراني واختبار الاختراق. اكتشف آخر تحديثات المشاريع للعثور على الثغرات وتحليل الأنظمة وأتمتة الاختبارات وتعزيز أمنك.

الخلاصاتاتصالالخصوصية© 2026 Kitploit

دليل الأدوات

الفئات

عرض جميع الفئات
Loading categories
CVE-2026-113425 — Docker-based proof-of-concept lab for CVE-2026-113425, a use-after-free in the nginx mail proxy triggered by a timed TCP RST during IMAP authentication, causing worker crashes. | Kitploit
أدوات/GitHubGitHub/llcforge/cve-2026-113425
Vulnerability AnalysisExploitationWeb SecurityNetwork SecurityLabs & Practice
GitHubllcforge/cve-2026-113425

CVE-2026-113425

Docker-based proof-of-concept lab for CVE-2026-113425, a use-after-free in the nginx mail proxy triggered by a timed TCP RST during IMAP authentication, causing worker crashes.

عرض المستودع
منذ 3 أياملم تتم المراجعة بعد

الأكثر شعبية

عرض الكل →

اكتشف الأدوات الأكثر استخدامًا من قبل مجتمعنا.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 مجموعة أدوات OSINT المثالية: رسم بياني للتحقيق، وتقييم الثقة، وعائلات الأسماء المستعارة، وخريطة، وخط زمني، وتقارير. 49 وحدة، وأكثر من 400 موقع، دون الحاجة إلى مفاتيح API.

    906
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    # تطبيق GhostLock للتنفيذ بنقرة واحدة (CVE-2026-43499)

    725
  • 3

    looking-glass

    anonghosty/looking-glass

    منصة CSIRT تستقبل تقارير Shadowserver في MongoDB وتعيد عرضها كخرائط تفاعلية وتحليلات ونتائج وإرشادات ولوحات معلومات تنفيذية.

    442
  • 4

    wifit3

    derv82/wifit3

    Wifite لكن عبر USB فقط ومتعدد المنصات.

    434
  • 5

    jumpserver

    jumpserver/jumpserver

    JumpServer هي منصة مفتوحة المصدر لإدارة الامتيازات (PAM) توفر لفرق DevOps وتكنولوجيا المعلومات وصولًا آمنًا عند الطلب إلى نقاط نهاية SSH وRDP وKubernetes وقواعد البيانات وRemoteApp عبر متصفح الويب.

    412
  • 6

    SafeLine

    chaitin/safeline

    WAF مستضافة ذاتيًا ووكيل عكسي يقوم بتصفية حركة المرور HTTP الضارة، ويمنع هجمات SQL injection و XSS وهجمات البوت، مع تحديد معدل الطلبات وتشفير HTML/JS الديناميكي.

    360

استكشف جميع الأدوات

تصفح مجموعتنا من الأدوات

عرض جميع الأدوات →
مشاركة
المحتوى غير متوفر باللغة المطلوبة. عرض النسخة الإنجليزية.

CVE-2026-113425

nginx — Mail Proxy Use-After-Free via TCP RST

CVSS CWE Language Fixed Disclosed


Overview

A use-after-free in nginx's mail proxy module (ngx_mail_proxy_module) is triggered when a client sends a TCP RST at a precisely timed moment during the IMAP authentication flow. The freed shared session context is subsequently dereferenced by the upstream handler, crashing the worker.

FieldValue
CVECVE-2026-113425
CVSS 3.17.5 High — AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CWECWE-416 (Use After Free)
Componentngx_mail_proxy_module
Affectednginx 0.5.33 – 1.31.8
Fixednginx 1.30.7 / 1.31.9
Auth RequiredNone
Disclosed2026-11-18

Vulnerability Details

When nginx proxies a mail client to an upstream IMAP/SMTP/POP3 server it allocates a session context shared between the downstream and upstream event handlers. If the client sends a TCP RST via SO_LINGER with l_linger = 0 at the right moment — after the upstream connection is established but before nginx has finished tearing down the session — the client-side handler frees the shared context while the upstream handler still holds a pointer to it. Subsequent upstream events dereference the freed memory.

Lab layout:

client (poc.py)  →  nginx:1.31.8 mail proxy  →  imapd:143 (fake IMAP, holds LOGIN for 20s)
                           ↑ auth_http → authd:9000 (always OK)

Attack Flow

flowchart LR
    A([Attacker]) -->|TCP connect :143\nIMAP greeting| B[nginx mail proxy\n1.31.8]
    B -->|proxy to upstream\nIMAPD| C[Fake IMAP\nHolds LOGIN 20s]
    A -->|TCP RST via SO_LINGER\nat LOGIN hold window| B
    B -->|client handler frees\nshared session context| D{UAF}
    D -->|upstream event\ndereferences freed ptr| E[Worker SIGSEGV\nDoS]

    style A fill:#3d1a1a,stroke:#f85149,color:#f85149
    style E fill:#1a1f2e,stroke:#f85149,color:#f85149

PoC Usage

Warning: Docker Compose lab environment only. Never run against production mail servers.

Setup

docker compose up --build -d
sleep 3

Default mode — RST inside the 20-second LOGIN hold window

python3 poc.py

Expected output — vulnerable nginx:

[+] SIGSEGV detected in nginx worker — USE-AFTER-FREE CONFIRMED
docker compose logs -f nginx

RST timing variants

# RST immediately after receiving the IMAP greeting
python3 poc.py --mode after-greeting

# RST after sending LOGIN command, before response
python3 poc.py --mode mid-login

# RST 500ms into the 20-second hold window (default)
python3 poc.py --mode after-auth

# Stress test: 50 parallel connections with mixed RST timings
python3 poc.py --mode burst --count 50

Available flags

FlagDescription
--mode after-greeting|mid-login|after-auth|burstRST timing (default: after-auth)
--count NNumber of connections for burst mode
--host HOSTnginx host (default: 127.0.0.1)
--port PORTIMAP port (default: 143)

RST timing reference

ModeRST timing
after-greetingImmediately after * OK received
mid-loginAfter LOGIN sent, before response
after-auth500 ms into the 20-second hold window
burstMany parallel connections, mixed timings

Monitor for crashes

docker compose logs -f nginx
# Look for: "worker process <pid> exited on signal 11"

Expected output — patched build

# Patch the Dockerfile
sed -i 's/nginx:1.31.8/nginx:1.31.9/' nginx/Dockerfile
docker compose build --no-cache nginx && docker compose up -d
python3 poc.py --mode after-auth
# nginx handles RST cleanly, logs: "connection reset by peer"

Detection

IndicatorNotes
nginx worker crash (signal 11)nginx error.log: "worker process exited on signal 11"
Repeated worker restarts under low trafficMaster process respawning workers after IMAP auth attempts
Connections with SO_LINGER=0 to mail portNetwork-level detection of TCP RST during IMAP LOGIN

Impact

Unauthenticated remote Denial of Service. One crafted connection per nginx worker crashes that worker. With worker_processes N, N connections are needed to fully deny service. No memory corruption in the typical case — restart recovers the service.


Remediation

Upgrade to nginx 1.30.7 (stable) or nginx 1.31.9 (mainline). The fix ensures the session context lifetime is properly tracked across both the client and upstream handlers.

ActionDetail
Upgrade nginx1.30.7 (stable) or 1.31.9 (mainline)
Monitor worker restartsAlert on repeated signal 11 from nginx workers
Rate-limit IMAP connectionsLimit connections per IP at the firewall

References

  • nginx Security Advisories: https://nginx.org/en/security_advisories.html
  • CWE-416: https://cwe.mitre.org/data/definitions/416.html
  • CVE Record: https://www.cve.org/CVERecord?id=CVE-2026-113425

Disclaimer: For authorized security research and controlled lab use only. MIT License.

تنزيل الأداة