CWE-507: Trojan Horse
The product appears to contain benign or useful functionality, but it also contains code that is hidden from normal operation that violates the intended security policy of the user or the system administrator.
Last updated
Overview
CWE-507 (Trojan Horse) is a base-level software weakness catalogued by MITRE in the Common Weakness Enumeration (CWE). It describes a recurring type of mistake that can lead to exploitable security vulnerabilities.
Real-world CVEs
1 recorded CVEs are caused by CWE-507 (Trojan Horse). The highest-severity and most recent are shown first.
Common consequences
What can happen when CWE-507 is exploited.
Execute Unauthorized Code or Commands
Affects: Confidentiality, Integrity, Availability
How it happens
When it is introduced
Typically introduced during these phases of the software lifecycle.
How to prevent it
Practical mitigations for CWE-507, grouped by where in the lifecycle they apply.
Most antivirus software scans for Trojan Horses.
Verify the integrity of the product that is being installed.
Terminology & mappings
Mapped taxonomies
- Landwehr: Trojan Horse
Attack patterns
CAPEC attack patterns that exploit this weakness.
Frequently asked questions
Common questions about CWE-507.
- What is CWE-507?
- The product appears to contain benign or useful functionality, but it also contains code that is hidden from normal operation that violates the intended security policy of the user or the system administrator.
- What CVEs are caused by CWE-507?
- 1 recorded CVEs are attributed to CWE-507, including CVE-2020-26292.
- How do you prevent CWE-507?
- Most antivirus software scans for Trojan Horses.
- What are the consequences of CWE-507?
- Exploiting CWE-507 can lead to: Execute Unauthorized Code or Commands.
- Is CWE-507 actively exploited?
- 1 recorded CVEs are caused by CWE-507; none are currently in CISA's KEV catalog of actively exploited flaws.
References
- MITRE CWE definition (CWE-507) (opens in a new tab)
- CWE-507 vulnerabilities on NVD (opens in a new tab)
- Learn: What is a CWE?
Weakness data is sourced from the MITRE CWE catalog (v4.20). CVE associations are aggregated and kept current by RadicalNotion.AI.
Stay ahead of CWE-507
Get alerted the moment a new CWE-507 vulnerability affects your stack, with AI-written analysis, severity context, and remediation guidance.