CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')
ClassDraftExploit Likelihood: High🏆 #20 in Top 25 (2024)
The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.
View on MITRE208Related CVEs
9.45Severity Score
Back to CWE Lookup
Extended Description
Many protocols and products have their own custom command language. While OS or shell command strings are frequently discovered and targeted, developers may not realize that these other command languages might also be vulnerable to attacks.
Technical Details
- Structure
- Simple
Applicable To
Languages
Not Language-Specific
Platforms
🏆 CWE Top 25 Historical Ranking
2023:#16
Score: 4.95
195 CVEs
2024:#20↓4
Score: 9.45
208 CVEs
Trend:Improving (moved up 4 ranks)
Learn More
Find Related CVEs
Search for vulnerabilities that exploit CWE-77
CWE Top 25 Most Dangerous
See how this weakness ranks against others
CVE vs CWE: What's the Difference?
Understanding vulnerabilities vs weaknesses
Understanding CVSS Scoring
How vulnerability severity is measured
View Full MITRE Entry
Complete technical details and references