Web Cache Deception script added to active directory with ID 100046#510
Web Cache Deception script added to active directory with ID 100046#510e1l1ya wants to merge 1 commit into
Conversation
Signed-off-by: eiliya keshtkar <eiliyakeshtkar0@gmail.com>
|
Great job! No new security vulnerabilities introduced in this pull requestUse @Checkmarx to interact with Checkmarx PR Assistant. |
|
Hi guys any updates? |
|
Sorry I've been away a while, I'll try to tackle this when I'm back into things Monday/Tuesday. |
| Update the web cache policy to not cache sensitive pages. | ||
| references: | ||
| - https://portswigger.net/web-security/web-cache-deception | ||
| - https://owasp.org/www-project-web-security-testing-guide/latest/4-Web_Application_Security_Testing/07-Input_Validation_Testing/11.2-Testing_for_Web_Cache_Deception |
There was a problem hiding this comment.
Per the WSTG linking guidance this should use a versioned link
There was a problem hiding this comment.
I just found web cache deception in latest version.
is Portswigger enough?
| } | ||
| } | ||
|
|
||
| // TODO: this section cant detect correctly |
| if (alertRef === "100046-1") { | ||
| name = "Web Cache Deception - Extension/Delimiter"; | ||
| description = "The server appears to cache sensitive pages when accessed with file extensions or crafted delimiters. " + | ||
| "When requesting '" + newPath + "', this could allow attackers to cache sensitive user pages " + | ||
| "by appending file extensions or using delimiters, potentially exposing private data to other users."; | ||
| } else if (alertRef === "100046-2") { | ||
| name = "Web Cache Deception - Path Traversal"; | ||
| description = "The server appears vulnerable to web cache deception via path traversal technique. " + | ||
| "When accessing '" + newPath + "', it may permit caching of sensitive resources due to improper path validation."; | ||
| } else { | ||
| name = "Web Cache Deception Vulnerability Detected"; | ||
| description = "The server may be vulnerable to web cache deception attacks."; | ||
| } |
There was a problem hiding this comment.
It shouldn't be necessary to include all this extra handling. It should be handled by the metadata.
| ) | ||
| .setReference( | ||
| "https://portswigger.net/web-security/web-cache-deception\n" + | ||
| "https://owasp.org/www-project-web-security-testing-guide/latest/4-Web_Application_Security_Testing/07-Input_Validation_Testing/11.2-Testing_for_Web_Cache_Deception" |
There was a problem hiding this comment.
This should also use a versioned link

No description provided.