Service:
Sonatype Nexus Repository ManagerHTTP management/admin UIs (TomcatJenkinsMcAfee ePO)Protocol:
TCPPort:
8081Used for:
Secondary or alternate HTTP port for web management consoles and app interfaces — most famously the default for Sonatype Nexus Repository Manager — served as plaintext HTTP unless a TLS front-end is added.Port 8081 is an alternate HTTP port with no single assigned service — its defining role is being the second web port that sits next to 8080. Where a host runs two HTTP listeners — an app UI and a management UI, or staging beside production — 8080 is usually the primary and 8081 the secondary. Several real products claim it as their default, the marquee being Sonatype Nexus Repository Manager, whose web console and REST API listen on 8081 out of the box; McAfee ePO consoles, Riverbed and embedded router/appliance admin UIs, and countless dev proxies land here too. Traffic is plaintext HTTP unless someone has put TLS in front of it. Because so many different applications answer on 8081, the first job on an open port isn’t to attack a known protocol — it’s to fingerprint what is actually listening, then test that specific app.
Why It’s Open
Port 8081 is open because an application deliberately bound its web interface there, almost always as the secondary HTTP listener on a host:
- Sonatype Nexus Repository Manager ships with its console and
/service/restAPI onhttp://<host>:8081/by default. Nexus is an artifact/dependency repository (Maven, npm, Docker, PyPI) that sits in the middle of build pipelines, so an exposed one is high-value: it holds credentials, proxies internal registries, and — on old versions — has famous unauthenticated RCE bugs. - Management / admin consoles beside an app. When port 80 or 8080 already serves the application, teams put the admin or monitoring UI on 8081 — Tomcat manager apps, Jenkins, McAfee ePolicy Orchestrator, Riverbed and other appliance web UIs, and internal dashboards commonly do this.
- Staging vs production, or a reverse-proxy backend. 8081 is a natural pick for a second environment or the upstream that a proxy on 80/443 forwards to.
- Dev servers and proxies. Local development stacks, container platforms, and debug proxies grab 8081 when 8080 is already taken.
On a home connection an open 8081 usually means a dev tool or a self-hosted app someone port-forwarded; on a server or cloud VM it is frequently a Nexus instance, a management console, or an internal web tier that was never meant to face the internet.
Common Risks
- Exposed Nexus Repository Manager. An internet-facing Nexus is a direct path to source-of-truth artifacts, stored registry credentials, and — on unpatched builds — pre-auth remote code execution (see CVEs below). Compromising the repo manager can poison every downstream build.
- Plaintext HTTP. Unless TLS has been added, logins to the console and API tokens travel in cleartext and are sniffable on the path — exactly why sensitive management belongs behind HTTPS on 443 or 8443.
- Exposed admin / management interfaces. A management UI reachable from untrusted networks hands an attacker the app’s control plane; many ship with default or weak credentials.
- Default and weak credentials. Nexus historically shipped
admin:admin123, and Tomcat/Jenkins/appliance consoles are notorious for unchanged defaults — a login page on 8081 is worth a credential test. - Information disclosure.
Server:andX-Powered-Byheaders, REST status endpoints, verbose stack traces, and favicon hashes all fingerprint the exact product and version an attacker needs to pick an exploit. - Wrong assumptions. Because 8081 is generic, defenders often assume “it’s just the dev port” and skip patching — the opposite of what an unauthenticated console deserves.
Want to save time on reporting?
Let PentestPad generate, track, and export your reports - automatically.

Enumeration & Testing
The whole game on port 8081 is identifying the application before you test it. Start with a version scan, read the HTTP headers, then branch on what answers — with a Nexus test path called out because it’s the highest-value find here.
Detect the service and version
nmap -sV -p 8081 <target>Read the HTTP headers and title
nmap -p 8081 --script http-headers,http-title,http-methods,http-favicon <target>curl -sI http://<target>:8081/A Server: header, a redirect to /nexus, an X-Powered-By, or a distinctive favicon hash usually names the product outright. http-favicon matches known application favicons; a matching hash is often the fastest way to positively ID a console.
Fingerprint Sonatype Nexus specifically
Nexus exposes an unauthenticated status endpoint and a REST tree — hitting these confirms the product and version without logging in:
curl -s http://<target>:8081/service/rest/v1/statuscurl -sI http://<target>:8081/ # 302 → /nexus or a Server: Nexus/x.y.z bannercurl -s http://<target>:8081/service/rest/v1/repositoriesA JSON status reply or a Nexus/3.x banner tells you the exact version — map that straight onto the CVEs below.
Test a Nexus EL-injection RCE (authenticated, any user)
If it’s a vulnerable Nexus 3 and you have — or can guess — any account, Metasploit weaponises the Java EL injection:
msfconsole -quse exploit/linux/http/nexus_repo_manager_el_injectionset RHOSTS <target>set RPORT 8081set USERNAME <user>set PASSWORD <pass>runDirectory and content enumeration for any web app
feroxbuster -u http://<target>:8081/nikto -h http://<target>:8081/Log every open port 8081, the product and version you positively identified, and any credential or unauth endpoint that answers, so the evidence lands in the pentest report instead of a scratch terminal you’ll lose.
What to Look For
| Checkpoint | What it means |
|---|---|
Redirect to /nexus or Server: Nexus/3.x |
Sonatype Nexus Repository Manager — read the version and check the CVEs below |
/service/rest/v1/status returns 200/JSON unauth |
Nexus REST API reachable without auth — fingerprint and check access controls |
Other Server: / X-Powered-By header |
A specific product (Tomcat, Jenkins, appliance UI) — test that stack |
| Login page or admin console | Management interface exposed — test default/weak credentials |
Plain http:// with no TLS redirect |
Credentials and tokens sent in cleartext |
| Verbose stack trace or error page | Framework and version disclosure |
| Reachable from the internet | Management/app tier exposed beyond its intended audience |
Known CVEs and Exploits
There is no generic “port 8081” CVE — the flaws that matter belong to whatever application is listening. The marquee occupant is Sonatype Nexus Repository Manager 3, whose default 8081 console has a well-documented chain of remote-code-execution and path-traversal bugs. Confirm the running version first, then match it to these NVD-verified entries:
- CVE-2019-7238 — Sonatype Nexus Repository Manager before 3.15.0 (3.6.2–3.14.0) has Incorrect Access Control that an unauthenticated attacker turns into remote code execution against the
previewAssetsJEXL evaluation. CVSS 9.8, and listed in CISA’s Known Exploited Vulnerabilities catalog — actively exploited in the wild. Public PoCs are widely available; this is the single most important reason to never expose an old Nexus on 8081. - CVE-2020-10199 — Nexus Repository before 3.21.2 allows Java EL (JavaEL) injection leading to RCE. It requires authentication, but any account works, so a single weak login means code execution as the
nexususer. CVSS 8.8, also in CISA KEV. Weaponised in Metasploit asexploit/linux/http/nexus_repo_manager_el_injectionand archived as Exploit-DB 48343. - CVE-2020-10204 — Nexus Repository before 3.21.2 allows Remote Code Execution via improper input validation (the companion RCE issue to CVE-2020-10199, requiring a higher-privileged account). CVSS 7.2.
- CVE-2024-4956 — Path Traversal in Sonatype Nexus Repository 3 before 3.68.1 lets an unauthenticated attacker read arbitrary system files (e.g.
/etc/passwd) via encoded..%2Fsequences. CVSS 7.5, with a public PoC at Exploit-DB 52101.
For any other application on 8081 — a Tomcat manager, a Jenkins controller, a McAfee ePO or appliance console — the CVEs to check are those of that specific product and version, not of “port 8081.”
Removed from the previous version of this page: four CVEs that were mislabeled and off-topic.
CVE-2023-27905was cited as “Jenkins Plugin Manager arbitrary file read” — it is actually a stored XSS in Jenkins update-center2 3.13/3.14.CVE-2022-43401was labeled “Apache Tomcat request smuggling” but is really a Groovy sandbox bypass in the Jenkins Script Security Plugin.CVE-2021-33037was called a “Tomcat manager auth bypass” when it is Tomcat HTTP request smuggling (CWE-444).CVE-2020-9484was tied to the “manager interface” but is a TomcatPersistenceManager/FileStoresession-deserialization RCE with strict preconditions, unrelated to the manager app. Those products can run on 8081, but the entries were wrong, so they’ve been replaced with the verified Nexus chain above. Always confirm a CVE against its NVD record and scope it to the real product before trusting it.
Mitigation
- Identify the real service first. You can’t secure 8081 generically — fingerprint the app (Nexus, Tomcat, Jenkins, an appliance UI, a dev proxy), then harden that specific thing.
- If it’s Nexus: upgrade to a current release (well past 3.15.0, 3.21.2, and 3.68.1 to clear the CVEs above), change the default
adminpassword immediately, enable anonymous-access restrictions, and keep the console off the public internet — put it behind a VPN or an authenticated reverse proxy. - Put TLS in front of it. 8081 is plaintext by default; terminate HTTPS on a proxy or move sensitive management to 443 / 8443 so credentials and tokens aren’t sniffable.
- Require strong authentication. Kill default and shared credentials, enforce a password policy, and add MFA or SSO on management consoles.
- Restrict and segment. Firewall TCP/8081 to the management network or specific client IPs, and audit cloud security groups and container port maps for an accidental
0.0.0.0:8081. - Suppress information leakage. Disable verbose stack traces and directory listings, and strip or generic-ize
Server:/X-Powered-Byheaders on internet-facing services. - Close it if nothing needs it, then rescan to confirm — an unexplained open 8081 is worth identifying, not dismissing as “just the dev port.”
Real-World Example
The canonical port-8081 incident is the mass exploitation of CVE-2019-7238, the unauthenticated RCE in Sonatype Nexus Repository Manager 3. Because Nexus ships its console on 8081 by default and is deployed at the heart of software build pipelines, internet-wide scans quickly enumerated exposed instances after disclosure in early 2019. A single crafted request to the previewAssets endpoint — no login required — evaluated attacker-controlled JEXL and ran commands as the Nexus service account, handing over stored registry credentials and the ability to tamper with the very artifacts downstream builds pull. The bug was serious enough that CISA later added it to the Known Exploited Vulnerabilities catalog. It’s the port-8081 lesson in miniature: the port number is mundane and shared by dozens of unrelated web apps, but the application that happens to be listening — here, an unpatched artifact repository at the core of a supply chain — is the real attack surface, and identifying it is the whole job.
FAQ
What is port 8081 used for?
Port 8081 is an alternate HTTP port with no single assigned service. Its defining role is being the secondary web port beside 8080 — an app UI next to a management UI, or staging next to production. Its most famous specific use is as the default port for Sonatype Nexus Repository Manager; McAfee ePO, Riverbed and other appliance admin UIs, Tomcat/Jenkins consoles, and dev proxies also default here. On an open 8081, the first step is to identify which application is actually running.
How is port 8081 different from port 8080?
They’re both alternate HTTP ports, but they play different roles. 8080 is the generic primary alt-HTTP port — the classic Tomcat, proxy, and web-app default. 8081 is the common secondary/management port that sits beside it, and it’s the specific default for products like Nexus Repository Manager. When a host runs two web listeners, 8080 is usually the app and 8081 the second interface.
Is port 8081 encrypted?
No, not by default. 8081 carries plaintext HTTP unless someone has added TLS in front of it. Anything sensitive — a login, an API token, a management action — is sniffable on the path. Sensitive services should sit behind HTTPS on 443 or 8443, or behind a TLS-terminating reverse proxy.
Why is port 8081 open on my server?
Most often because an application bound its web interface there. On a server it’s frequently a Nexus Repository Manager instance, a management/admin console placed beside an app on 80/8080, a staging environment, or a reverse-proxy backend. On a home connection it’s usually a self-hosted app or dev tool that was port-forwarded. If you don’t recognise what’s answering, fingerprint it before trusting it.
Is an exposed Nexus Repository Manager on 8081 dangerous?
Yes, if it’s outdated or misconfigured. Old Nexus 3 builds carry an unauthenticated RCE (CVE-2019-7238) and a path traversal (CVE-2024-4956), and even patched instances hold registry credentials and control the artifacts your builds depend on. Keep Nexus patched, off the public internet, behind TLS and strong authentication, and never on default credentials.
How do I find out what’s running on my port 8081?
Fingerprint it: nmap -sV -p 8081 <host>, curl -sI http://<host>:8081/ to read the Server header and any redirect, and nmap -p 8081 --script http-favicon,http-title,http-headers <host> to match the console by favicon and title. For Nexus specifically, curl -s http://<host>:8081/service/rest/v1/status returns a status/version reply. Once you know the product and version, check that product’s advisories.
TL;DR
- Service: no single standard — an alternate/secondary HTTP port; most notably the default for Sonatype Nexus Repository Manager, plus management/admin consoles (Tomcat, Jenkins, McAfee ePO, appliance UIs) and dev proxies
- Default port: 8081/TCP (plaintext HTTP unless TLS-fronted)
- Biggest risk: an exposed, unpatched Nexus Repository Manager (unauthenticated RCE via CVE-2019-7238, EL-injection RCE via CVE-2020-10199/10204, path traversal via CVE-2024-4956) or any management console left on default credentials — fingerprint the app before you trust it
- Mitigation: identify the real service, patch it (upgrade Nexus well past 3.68.1), kill default creds, put TLS in front, firewall 8081 to trusted networks, and close it if nothing needs it