-
-
Notifications
You must be signed in to change notification settings - Fork 673
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
proposal: remove current 5.3.9 as it is in incorrect place and covered by other requirements #1470
Labels
5) awaiting PR
A proposal hs been accepted and reviewed and we are now waiting for a PR
josh/elar
V5
Temporary label for grouping input validation, sanitization, encoding, escaping related requirements
_5.0 - prep
This needs to be addressed to prepare 5.0
Comments
elarlang
added
4) proposal for review
Issue contains clear proposal for add/change something
_5.0 - prep
This needs to be addressed to prepare 5.0
josh/elar
labels
Dec 22, 2022
Waiting for response on #1427 |
elarlang
added
the
4a) Waiting for another
This issue is waiting for another issue to be resolved
label
Jan 1, 2023
History:
I agree that this seems to be covered in section 12 and not convinced there is anything even to merge here... It just seems like a duplicate |
elarlang
added
5) awaiting PR
A proposal hs been accepted and reviewed and we are now waiting for a PR
and removed
4) proposal for review
Issue contains clear proposal for add/change something
labels
Jan 17, 2023
Closed
tghosth
added
V5
Temporary label for grouping input validation, sanitization, encoding, escaping related requirements
4b Major-rework
These issues need to be part of a full chapter rework
and removed
4a) Waiting for another
This issue is waiting for another issue to be resolved
5) awaiting PR
A proposal hs been accepted and reviewed and we are now waiting for a PR
labels
Sep 13, 2023
@tghosth - do we wait something for this or it can be done? |
@elarlang let's just eliminate it for now |
tghosth
added
5) awaiting PR
A proposal hs been accepted and reviewed and we are now waiting for a PR
and removed
4b Major-rework
These issues need to be part of a full chapter rework
labels
Jan 23, 2024
elarlang
added a commit
that referenced
this issue
Jan 24, 2024
tghosth
pushed a commit
that referenced
this issue
Jan 24, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
5) awaiting PR
A proposal hs been accepted and reviewed and we are now waiting for a PR
josh/elar
V5
Temporary label for grouping input validation, sanitization, encoding, escaping related requirements
_5.0 - prep
This needs to be addressed to prepare 5.0
Current requirement 5.3.9
CWE-829: Inclusion of Functionality from Untrusted Control Sphere
I try to understand, why requirement 5.3.9 is in category "V5.3 Output Encoding and Injection Prevention" and also, why it exists at all. We may watch it as "path or url injection attack", but defence method here is not encoding or escaping, it must be validation and sanitization.
It's also not clear, is it addressing only PHP style file inclusion which also means that included file is executed as PHP program code. Or is it covering also just file read?
Chosen CWE points more towards V10 category #1471
In "V12.3 File Execution" we have requirements:
With those requirements we already have "cleanup" issue #1427 as those should belong to input validation and input sanitization categories (but this part will be handled by issue 1427)
As RFI is also always SSRF attack, it's kind of covered by 5.2.6.
Reason for Local File Inclusion is most likely some missing validation against allow-listed values and input from user is used to load program code file.
Proposal: remove current 5.3.9 as it is clearly in incorrect category and it is covered by other requirements (even those othere requirements need to be changed as well)
Label should mark it as
DELETED, MERGED TO 12.3.2, 12.3.3
(or where-ever they happen to be via #1427) or if we consider it as "code execution from untrusted sources", thenDELETED, MERGED TO 10.3.2
(via #1471)The text was updated successfully, but these errors were encountered: