Skip to content
KitploitKITPLOIT
ИнструментыБлог
Отправить
ИнструментыБлог
Отправить

Инструменты для хакинга, пентеста и кибербезопасности — ваш арсенал защиты!

Kitploit — это каталог инструментов для хакинга, кибербезопасности и пентестинга. Находите последние обновления проектов для поиска уязвимостей, анализа систем, автоматизации тестирования и усиления вашей безопасности.

··Ленты·Контакты·Конфиденциальность·© 2026 Kitploit

Каталог инструментов

Категории

Все категории
Loading categories
Инструменты/GitHubGitHub/alexojocyber/cve-2011-2523-vsftpd-validation-lab
Vulnerability ScannersVulnerability AnalysisExploitationInformation GatheringPenetration TestingLearning & EducationLabs & Practice
GitHubalexojocyber/cve-2011-2523-vsftpd-validation-lab

cve-2011-2523-vsftpd-validation-lab

Authorized Kali–Metasploitable2 lab using Python and Nmap NSE to validate CVE-2011-2523 in vsFTPd 2.3.4.

Репозиторий
19 дней назадЕщё не проверено

Популярное

Смотреть все →

Откройте для себя самые используемые инструменты нашего сообщества.

Изучить все инструменты

Просмотрите нашу коллекцию инструментов

Смотреть все инструменты →
Поделиться
Контент недоступен на запрошенном языке. Показываем английскую версию.

CVE-2011-2523 — vsFTPd 2.3.4 Backdoor Validation Lab

Python Nmap CVE CVSS MITRE Status

⚠️ Authorized Lab Only — conducted in an isolated VirtualBox Host-Only network using Kali Linux and Metasploitable2. No unauthorized systems were scanned or accessed at any point.


Overview

CVE-2011-2523 is one of the most well-known supply chain compromises in open source history. In 2011, the official vsFTPd 2.3.4 source code was backdoored on the project's download server — an attacker modified the binary so that entering a username containing triggered a backdoor shell on TCP port 6200, granting root access to any remote attacker.

:)

This lab validates CVE-2011-2523 using a structured vulnerability assessment methodology:

  • Python-automated Nmap scanner with NSE script execution
  • Service and version detection to confirm vulnerable software
  • NSE backdoor validation using ftp-vsftpd-backdoor
  • Structured findings documentation with remediation recommendations

This is real vulnerability assessment work — the same methodology used by penetration testers and SOC analysts conducting authorized security assessments.


Lab Environment

ComponentDetails
Attacking MachineKali Linux
Target MachineMetasploitable2 (intentionally vulnerable)
HypervisorOracle VirtualBox
NetworkHost-Only Adapter — isolated, no internet access
ToolsPython 3, Nmap, NSE, python-nmap library
Target IP192.168.56.103

About CVE-2011-2523

FieldDetails
CVE IDCVE-2011-2523
Affected SoftwarevsFTPd 2.3.4
CVSS Score10.0 — Critical
Vulnerability TypeBackdoor / Supply Chain Compromise
Attack VectorNetwork — no authentication required
ImpactRemote root shell access (uid=0)
DiscoveredJuly 2011
MITRE ATT&CKT1195.002 (Compromise Software Supply Chain)

How the backdoor works: When a client connects to vsFTPd 2.3.4 and sends a username containing the characters :) (smiley face), the backdoor code is triggered — opening a listener shell on TCP port 6200. Connecting to port 6200 grants an interactive root shell with no further authentication required.


Methodology

root@kitploit:~
Step 1: Confirm target IP on Host-Only network
         └── ifconfig / ip addr on Metasploitable2

Step 2: Verify connectivity
         └── ping 192.168.56.103 from Kali

Step 3: Service & version detection
         └── nmap -sV -p 21 192.168.56.103
         └── Confirm: vsftpd 2.3.4

Step 4: Python-automated NSE scan
         └── python3 pythonnmap.py --host 192.168.56.103 --ports 21
         └── NSE scripts executed:
               ftp-anon
               ftp-bounce
               ftp-libopie
               ftp-proftpd-backdoor
               ftp-vsftpd-backdoor  ← CVE-2011-2523 validation

Step 5: Document findings & remediation

Commands Used

Service & Version Detection

root@kitploit:~
sudo nmap -sV -p 21 192.168.56.103

Output:

root@kitploit:~
PORT   STATE SERVICE VERSION
21/tcp open  ftp     vsftpd 2.3.4

Python-Automated NSE Scan

root@kitploit:~
sudo python3 pythonnmap.py --host 192.168.56.103 --ports 21

Manual NSE Validation

root@kitploit:~
sudo nmap --script ftp-vsftpd-backdoor -p 21 192.168.56.103

Findings

ServicePortFindingEvidence
FTPTCP 21vsFTPd 2.3.4 identified — known backdoored versionNmap service/version scan
FTPTCP 21Anonymous FTP login permittedftp-anon NSE output
FTPTCP 21Target confirmed vulnerable to CVE-2011-2523ftp-vsftpd-backdoor NSE output
CVE-2011-2523TCP 6200Backdoor shell returned uid=0(root) gid=0(root)NSE validation output

Evidence

Target Network Address

Metasploitable2 IP

FTP Service & Version Detection

vsFTPd 2.3.4 detected on port 21

CVE-2011-2523 Validation Result

Python NSE output confirming CVE-2011-2523


Remediation

In a real production environment, remediation would include:

ActionPriority
Immediately remove vsFTPd 2.3.4 and replace with a patched version🔴 Critical
Verify software integrity using SHA-256 checksums against official vendor hashes before installation🔴 Critical
Disable anonymous FTP access unless explicitly required🟠 High
Restrict FTP service exposure using firewall rules and network segmentation🟠 High
Monitor FTP authentication logs for suspicious usernames containing :)🟡 Medium
Consider replacing FTP entirely with SFTP (SSH File Transfer Protocol)🟡 Medium

Security Framework Mapping

ControlFrameworkRelevance
T1195.002MITRE ATT&CKCompromise Software Supply Chain — backdoor injected into vsFTPd source
T1133MITRE ATT&CKExternal Remote Services — backdoor opens remote root shell
T1190MITRE ATT&CKExploit Public-Facing Application — FTP service exploited remotely
SI-2NIST SP 800-53Flaw Remediation — patch and remove vulnerable software
SI-7NIST SP 800-53Software Integrity — verify software checksums before deployment
RA-5NIST SP 800-53Vulnerability Monitoring and Scanning
A.12.6ISO 27001Management of Technical Vulnerabilities

Python Scanner — pythonnmap.py

The pythonnmap.py script automates the Nmap NSE scan using the python-nmap library:

root@kitploit:~
# Key functionality
import nmap

scanner = nmap.PortScanner()
scanner.scan(
    hosts=target_host,
    ports=target_ports,
    arguments='-sV --script ftp-anon,ftp-bounce,ftp-libopie,ftp-proftpd-backdoor,ftp-vsftpd-backdoor'
)

Benefits of Python automation:

  • Repeatable, consistent scans across multiple targets
  • Output can be parsed and logged programmatically
  • Integrates into larger vulnerability assessment pipelines
  • Demonstrates security automation skills alongside manual methodology

Skills Demonstrated

SkillDetails
CVE ResearchUnderstood CVE-2011-2523 technically — attack vector, backdoor mechanism, CVSS score
Vulnerability ValidationUsed NSE scripting to confirm real CVE in controlled environment
Nmap & NSEService detection, version scanning, and script-based vulnerability validation
Python Security AutomationAutomated NSE scan using python-nmap library
Findings DocumentationStructured findings table with evidence, severity, and remediation
Remediation PlanningProduced prioritised remediation recommendations
MITRE ATT&CK MappingT1195.002, T1133, T1190 — supply chain and remote access techniques
NIST Framework MappingSI-2, SI-7, RA-5 — flaw remediation and vulnerability scanning controls
Lab SafetyMaintained isolated Host-Only network — zero risk of unauthorized access

Project Structure

root@kitploit:~
cve-2011-2523-vsftpd-validation-lab/
│
├── README.md                          # This file
├── pythonnmap.py                      # Python-automated Nmap NSE scanner
├── requirements.txt                   # Python dependencies (python-nmap)
├── .gitignore                         # Excludes sensitive files
│
└── screenshots/
    ├── metasploitable-ip-address.png  # Target IP confirmation
    ├── ftp-service-version-scan.png   # vsFTPd 2.3.4 detected
    └── ftp-vsftpd-cve-validation.png  # CVE-2011-2523 validated

Installation & Usage

root@kitploit:~
# Clone the repository
git clone https://github.com/alexojocyber/cve-2011-2523-vsftpd-validation-lab.git
cd cve-2011-2523-vsftpd-validation-lab

# Install Nmap and Python dependency
sudo apt install -y nmap
pip install -r requirements.txt

# Run the scanner against your authorized lab target
sudo python3 pythonnmap.py --host TARGET_IP --ports 21

Disclaimer

This lab was conducted exclusively in an isolated, authorized environment using intentionally vulnerable virtual machines. All scanning and validation was performed only against Metasploitable2 on a Host-Only VirtualBox network with no external connectivity. This project is for educational and defensive cybersecurity purposes only. Never scan or test systems without explicit written authorization.


Author

Alex Ojo — Cybersecurity Student | Vulnerability Assessment & Security Automation
🔗 GitHub | LinkedIn | Portfolio

Скачать инструмент