243
References
[REF-185]OWASP. "Testing for Path Traversal (OWASP-AZ-001)". < http://www.owasp.org/
index.php/Testing_for_Path_Traversal_(OWASP-AZ-001) >.
[REF-76]Sean Barnum and Michael Gegick. "Least Privilege". 2005 September 4. < https://
web.archive.org/web/20211209014121/https://www.cisa.gov/uscert/bsi/articles/knowledge/
principles/least-privilege >.2023-04-07.
[REF-951]Shaun Clowes. "A Study in Scarlet". < https://www.cgisecurity.com/lib/studyinscarlet.txt
>.2023-04-07.
[REF-952]Stefan Esser. "Suhosin". < http://www.hardened-php.net/suhosin/ >.
[REF-953]Johannes Ullrich. "Top 25 Series - Rank 13 - PHP File Inclusion". 2010 March 1. SANS
Software Security Institute. < https://www.sans.org/blog/top-25-series-rank-13-php-file-inclusion/
>.2023-04-07.
CWE-99: Improper Control of Resource Identifiers ('Resource Injection')
Weakness ID : 99
Structure : Simple
Abstraction : Class
Description
The product receives input from an upstream component, but it does not restrict or incorrectly
restricts the input before it is used as an identifier for a resource that may be outside the intended
sphere of control.
Extended Description
A resource injection issue occurs when the following two conditions are met:
1. An attacker can specify the identifier used to access a system resource. For example, an
attacker might be able to specify part of the name of a file to be opened or a port number to
be used.
2. By specifying the resource, the attacker gains a capability that would not otherwise be
permitted. For example, the program may give the attacker the ability to overwrite the
specified file, run with a configuration controlled by the attacker, or transmit sensitive
information to a third-party server.
This may enable an attacker to access or modify otherwise protected system resources.
Relationships
The table(s) below shows the weaknesses and high level categories that are related to this
weakness. These relationships are defined as ChildOf, ParentOf, MemberOr and give insight to
similar items that may exist at higher and lower levels of abstraction. In addition, relationships such
as PeerOf and CanAlsoBe are defined to show similar weaknesses that may want to be explored.
Relevant to the view "Research Concepts" (CWE-1000)
Nature Type ID Name Page
ChildOf 74 Improper Neutralization of Special Elements in Output Used
by a Downstream Component ('Injection')