adobe / adobe/aem-core-wcm-components
Veracode Findings - CWE 918 Server-Side Request Forgery (SSRF)
- Dominant language
- Java
- Stars
- 795
- Forks
- 775
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 8
Description
Description: The web server receives a URL or similar request from an upstream
component and retrieves the contents of this URL, but it does not
sufficiently ensure that the request is being sent to the expected
destination.
Affected file - com/adobe/cq/wcm/core/components/internal/form/FormHandlerImpl.java
post.setHeader(entry.getKey(), entry.getValue());
Contributor guide
Research direction
Start by reading com/adobe/cq/wcm/core/components/internal/form/FormHandlerImpl.java, especially the post.setHeader(entry.getKey(), entry.getValue()) path and the code that retrieves the submitted URL. Trace how the destination is determined and identify the expected validation boundary. Done means the reported SSRF path is addressed and the relevant security behavior is verified, but the issue does not name a test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100