Common Security Misconfigurations in IT Systems and How to Fix Them
The most common security misconfigurations are default or shared credentials, accounts with more privilege than they need, flat networks with no segmentation, missing patches, weak or missing multi-factor authentication, cloud storage or management ports exposed to the internet, logging that is switched off or never reviewed, and outdated encryption settings.
Topic: Cybersecurity Foundations in Cybersecurity & Ethical Hacking · Explainer
Also covers: Cloud & Container Security, Network Security
Quick answer: The most common security misconfigurations are default or shared credentials, accounts with more privilege than they need, flat networks with no segmentation, missing patches, weak or missing multi-factor authentication, cloud storage or management ports exposed to the internet, logging that is switched off or never reviewed, and outdated encryption settings. NSA and CISA list most of these in their joint Top Ten Misconfigurations advisory. Prevent them by hardening every system against a written baseline such as a CIS Benchmark, scanning for drift on a schedule, and fixing the findings through change control.
Key takeaways
- Most misconfigurations come from defaults that were never changed and settings that drift after go-live.
- A written baseline per system type makes "correct" measurable.
- Automated scanning finds drift faster than manual reviews.
- Cloud storage and management interfaces exposed to the internet are high-impact, easy-to-check items.
- Logging only helps if someone reviews the logs and they are kept long enough.
Table of Contents
- What Is a Security Misconfiguration?
- Which Misconfigurations Are Most Common?
- How Do You Check for Each One?
- What Goes Wrong Most Often in the Cloud?
- How Do You Stop Configuration Drift?
- What Should a Misconfiguration Audit Cover?
- What Do Indian Rules Expect?
- References
What Is a Security Misconfiguration?
A misconfiguration is any setting that leaves a system less secure than it should be: a default password, an unnecessary service, an over-permissive rule, or a disabled security feature. OWASP lists Security Misconfiguration as A05 in its Top 10 for web applications. It is not a software bug, so patching alone does not fix it; the owner of the system has to change the setting.
Which Misconfigurations Are Most Common?
In 2023, NSA and CISA published advisory AA23-278A listing the ten misconfigurations their red and blue teams found most often in large organisations:
| # | Misconfiguration (AA23-278A) | Typical example |
|---|---|---|
| 1 | Default configurations of software and applications | Vendor admin password left unchanged |
| 2 | Improper separation of user and administrator privilege | Daily-use accounts that are domain admins |
| 3 | Insufficient internal network monitoring | No alerting on lateral movement |
| 4 | Lack of network segmentation | Workstations can reach database servers directly |
| 5 | Poor patch management | Internet-facing systems months behind on updates |
| 6 | Bypass of system access controls | Pass-the-hash possible because of reused local admin passwords |
| 7 | Weak or misconfigured MFA | SMS codes, or MFA not enforced for all users |
| 8 | Insufficient access control lists on shares and services | File shares readable by "Everyone" |
| 9 | Poor credential hygiene | Passwords in scripts, weak service account passwords |
| 10 | Unrestricted code execution | Users can run any downloaded executable or script |
How Do You Check for Each One?
Quick checks you can run on systems you own or are authorised to assess:
# Open ports on a server you manage
nmap -sV -p- 10.0.0.15
# Windows: members of the local Administrators group
Get-LocalGroupMember -Group "Administrators"
# Linux: services listening on all interfaces
ss -tulpn | grep -E "0.0.0.0|\[::\]"
# Linux: SSH settings that should be off
sshd -T | grep -Ei "permitrootlogin|passwordauthentication"
Compare each result with your baseline. Anything listening that nobody can explain, or any admin account nobody owns, is a finding.
What Goes Wrong Most Often in the Cloud?
- Public storage: buckets or blobs readable by anyone. On AWS, turn on S3 Block Public Access at account level.
- Open management ports: SSH (22) or RDP (3389) allowed from 0.0.0.0/0 in security groups.
- Over-broad IAM: wildcard actions and resources, long-lived access keys.
- Logging off: audit trails such as CloudTrail or Azure Activity Logs not retained.
Open source posture scanners such as Prowler check cloud accounts against CIS and other benchmarks:
# List security groups that allow SSH from anywhere (AWS CLI)
aws ec2 describe-security-groups \
--filters Name=ip-permission.from-port,Values=22 Name=ip-permission.cidr,Values=0.0.0.0/0 \
--query "SecurityGroups[].GroupId"
How Do You Stop Configuration Drift?
- Pick a baseline per system type, usually a CIS Benchmark adjusted for your needs.
- Build systems from hardened images or infrastructure-as-code, not by hand.
- Scan on a schedule and after every major change.
- Route deviations through change control: fix them or record an approved exception.
- Review the baseline yearly, as NIST SP 800-128 recommends for configuration management.
Vendors share responsibility too. CISA's Secure by Design programme asks manufacturers to ship without default passwords and with logging on by default.
What Should a Misconfiguration Audit Cover?
| Area | What to confirm |
|---|---|
| Identity | No default or shared admin accounts; MFA on all remote and admin access |
| Network | Segmentation between user, server and management zones; no exposed admin ports |
| Systems | Patched; unneeded services removed; baseline applied |
| Cloud | No public storage unless approved; least-privilege IAM; audit logs on |
| Logging | Logs centralised, alerted on and retained |
| Encryption | TLS 1.2 or later; old protocols and ciphers disabled |
Active Directory deserves its own review: see dangerous Active Directory misconfigurations. For login flows, see bypassing 2FA through an OAuth misconfiguration.
What Do Indian Rules Expect?
CERT-In's April 2022 directions require organisations in India to report specified incidents within six hours and to keep ICT system logs for 180 days within India. Missing or disabled logging is therefore a compliance gap as well as a security one. The Digital Personal Data Protection Act 2023 also requires reasonable security safeguards for personal data, which includes not leaving it in publicly readable storage. WebAsha offers security hardening and cloud security training.
References
Frequently Asked Questions
What's Your Reaction?
Like
0
Dislike
0
Love
0
Funny
0
Wow
0
Sad
0
Angry
0