Skip to content
Misconfiguration Write-up Beginner

Understanding Vulnerabilities And A Remediation Walk Through

A Nessus scan of a deliberately vulnerable AWS instance found Shellshock, an SMB guest account, anonymous FTP, and SSH CBC ciphers. The author explains each issue and shows how to remediate them by editing configuration files and restarting services.

Ashlyn Matthews Follow

Published on systemweakness.com

In an attempt to practice my blue teamer skills, I launched a vulnerable instance from AWS and sought out to scan it. Although there are several vulnerability scanners, I chose to use Nessus, as it is a good general scanner and produces a pretty thorough vulnerability report.

Ashlyn Matthews, on systemweakness.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the issues came from outdated software and default permissive settings: an old bash shell, SMB and FTP services allowing unauthenticated access, and SSH offering weak CBC ciphers.

Impact

An attacker could run commands on the server through Shellshock, access SMB and FTP resources without credentials, and potentially decrypt SSH traffic using a padding oracle attack.

What the attacker needed

Access to a vulnerable AWS instance; Nessus scanner; SSH access to the instance

The fix

The author fixed the issues by updating the CGI script to use a safe bash, disabling SMB guest access, disabling anonymous FTP, and removing CBC ciphers from SSH.

How it was found

  1. Launch a vulnerable AWS instance and scan it with Nessus.
  2. SSH into the machine and inspect the CGI script to confirm the bash version.
  3. Find all bash binaries and point the CGI script to a non-vulnerable bash.
  4. Edit the Samba configuration to disable guest access.
  5. Edit the FTP configuration to disable anonymous login and restart the service.
  6. Edit the SSH configuration to remove CBC ciphers and restart SSH.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

The author set up a deliberately insecure server and ran a scanner to find weaknesses. They then explained what each weakness means and changed settings to close it. This is a learning exercise, not a real attack on someone else's system.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.