Title: [Java] CWE-552: Unsafe url forward · Issue #399 · github/securitylab · GitHub
Open Graph Title: [Java] CWE-552: Unsafe url forward · Issue #399 · github/securitylab
X Title: [Java] CWE-552: Unsafe url forward · Issue #399 · github/securitylab
Description: Query Link to pull request with your CodeQL query: Relevant PR: github/codeql#6240 CVE ID(s) List the CVE ID(s) associated with this vulnerability. GitHub will automatically link CVE IDs to the GitHub Advisory Database. CVE-20nn-nnnnn Re...
Open Graph Description: Query Link to pull request with your CodeQL query: Relevant PR: github/codeql#6240 CVE ID(s) List the CVE ID(s) associated with this vulnerability. GitHub will automatically link CVE IDs to the Git...
X Description: Query Link to pull request with your CodeQL query: Relevant PR: github/codeql#6240 CVE ID(s) List the CVE ID(s) associated with this vulnerability. GitHub will automatically link CVE IDs to the Git...
Opengraph URL: https://github.com/github/securitylab/issues/399
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Java] CWE-552: Unsafe url forward","articleBody":"## Query\r\n\r\n*Link to pull request with your CodeQL query:*\r\n\r\nRelevant PR: https://github.com/github/codeql/pull/6240\r\n\r\n## CVE ID(s)\r\n\r\n*List the CVE ID(s) associated with this vulnerability. GitHub will automatically link CVE IDs to the [GitHub Advisory Database](https://github.com/advisories).*\r\n\r\n- CVE-20nn-nnnnn\r\n\r\n## Report\r\n\r\nConstructing a server-side redirect path with user input could allow an attacker to download application binaries \r\n(including application classes or jar files) or view arbitrary files within protected directories.\r\n\r\n- [X] Are you planning to discuss this vulnerability submission publicly? (Blog Post, social networks, etc). *We would love to have you spread the word about the good work you are doing*\r\n\r\nFYI I just wrote a blog [post](https://github.com/haby0/mark/blob/master/articles/2021/Detecting%20Request%20forwarde%20vulnerabilities%20with%20CodeQL.md) about the query and timing attacks.\r\n\r\n## Result(s)\r\n\r\n*Provide at least one useful result found by your query, on some revision of a real project.*\r\n\r\n- [eclipse/jetty.project](https://github.com/eclipse/jetty.project/blob/jetty-10.0.x/jetty-servlet/src/test/java/org/eclipse/jetty/servlet/DispatcherTest.java#L579) : test data\r\n\r\n- [caelum/vraptor4](https://github.com/caelum/vraptor4/blob/master/vraptor-core/src/main/java/br/com/caelum/vraptor/view/DefaultPageResult.java#L122) : [lgtm result](https://lgtm.com/query/6009295495026660913/)","author":{"url":"https://github.com/haby0","@type":"Person","name":"haby0"},"datePublished":"2021-07-12T05:08:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":12},"url":"https://github.com/399/securitylab/issues/399"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2efcbab5-15f0-f23f-c12c-3719e04996d2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ECF0:C61B2:281D32D:39B1FD1:6A4D21A9 |
| html-safe-nonce | 73c7d4c7327e591b2b07075457fbc3c24b34e9f1f8e538ebcb97dba1d0045599 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQ0YwOkM2MUIyOjI4MUQzMkQ6MzlCMUZEMTo2QTREMjFBOSIsInZpc2l0b3JfaWQiOiIzMDMxNjcwNDg5NDkzNjEwOTIxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 1d283fc5f337f0ec1e3d110556bb82e2500acaa375563047ec16b75fd0cccad6 |
| hovercard-subject-tag | issue:941675693 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/securitylab/399/issue_layout |
| twitter:image | https://opengraph.githubassets.com/64921f600c5b907ea6a79fb81087840d71b8cc992861df43482b184237ff16da/github/securitylab/issues/399 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/64921f600c5b907ea6a79fb81087840d71b8cc992861df43482b184237ff16da/github/securitylab/issues/399 |
| og:image:alt | Query Link to pull request with your CodeQL query: Relevant PR: github/codeql#6240 CVE ID(s) List the CVE ID(s) associated with this vulnerability. GitHub will automatically link CVE IDs to the Git... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | haby0 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 92571a8944142227b7e19cd10918b1ddd06e5066c1ad5bc7e4769cf6140a87e6 |
| turbo-cache-control | no-preview |
| go-import | github.com/github/securitylab git https://github.com/github/securitylab.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 221101274 |
| octolytics-dimension-repository_nwo | github/securitylab |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 221101274 |
| octolytics-dimension-repository_network_root_nwo | github/securitylab |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 93f17a978ee60bc4668e1d7b90e6bd2d622261fd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width