Title: CX CSRF @ src/main/webapp/changeCardDetails.jsp [refs/heads/master] · Issue #197 · jvlstuff/JavaVulnerableLab · GitHub
Open Graph Title: CX CSRF @ src/main/webapp/changeCardDetails.jsp [refs/heads/master] · Issue #197 · jvlstuff/JavaVulnerableLab
X Title: CX CSRF @ src/main/webapp/changeCardDetails.jsp [refs/heads/master] · Issue #197 · jvlstuff/JavaVulnerableLab
Description: CSRF issue exists @ src/main/webapp/changeCardDetails.jsp in branch refs/heads/master Method cardno=request.getParameter at line 37 of src\main\webapp\changeCardDetails.jsp gets a parameter from a user request from ""cardno"". This param...
Open Graph Description: CSRF issue exists @ src/main/webapp/changeCardDetails.jsp in branch refs/heads/master Method cardno=request.getParameter at line 37 of src\main\webapp\changeCardDetails.jsp gets a parameter from a ...
X Description: CSRF issue exists @ src/main/webapp/changeCardDetails.jsp in branch refs/heads/master Method cardno=request.getParameter at line 37 of src\main\webapp\changeCardDetails.jsp gets a parameter from a ...
Opengraph URL: https://github.com/jvlstuff/JavaVulnerableLab/issues/197
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"CX CSRF @ src/main/webapp/changeCardDetails.jsp [refs/heads/master]","articleBody":"**CSRF** issue exists @ **src/main/webapp/changeCardDetails.jsp** in branch **refs/heads/master**\r\n\r\n*Method cardno=request.getParameter at line 37 of src\\main\\webapp\\changeCardDetails.jsp gets a parameter from a user request from \u0026quot;\u0026quot;cardno\u0026quot;\u0026quot;. This parameter value flows through the code and is eventually used to access application state altering functionality. This may enable Cross-Site Request Forgery (CSRF).*\r\n\r\nSeverity: Medium\r\n\r\nCWE:352\r\n\r\n[Vulnerability details and guidance](https://cwe.mitre.org/data/definitions/352.html)\r\n\r\n[Checkmarx](https://cxprivatecloud.checkmarx.net/CxWebClient/ViewerMain.aspx?scanid=1007325\u0026projectid=1350\u0026pathid=245)\r\n\r\n[Training](null)\r\n[Recommended Fix](https://cxprivatecloud.checkmarx.net/CxWebClient/ScanQueryDescription.aspx?queryID=648\u0026queryVersionCode=56758536\u0026queryTitle=CSRF)\r\n\r\nLines: 37 38 39 \r\n\r\n---\r\n[Code (Line #37):](null#L37)\r\n```\r\n String cardno=request.getParameter(\"cardno\");\r\n```\r\n---\r\n[Code (Line #38):](null#L38)\r\n```\r\n String cvv=request.getParameter(\"cvv\");\r\n```\r\n---\r\n[Code (Line #39):](null#L39)\r\n```\r\n String expirydate=request.getParameter(\"expirydate\");\r\n```\r\n---\r\n","author":{"url":"https://github.com/github-actions[bot]","@type":"Person","name":"github-actions[bot]"},"datePublished":"2022-03-14T18:35:24.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/197/JavaVulnerableLab/issues/197"}
| 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:cc40fdb6-f9a0-0aec-0456-cf9f8378c09f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CA82:22FD31:1B2D830:23F56FE:6A5C859E |
| html-safe-nonce | 3e7357e10bcbdd0135efd0a363569998db06a17c462cec781d4aeb39359cd4a1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQTgyOjIyRkQzMToxQjJEODMwOjIzRjU2RkU6NkE1Qzg1OUUiLCJ2aXNpdG9yX2lkIjoiNjU0NjgwMDk5MDE3MTcyNzI2MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3276513e688030450650b760a999c890cd155c6e0d0a0284983a58d10e9b09e0 |
| hovercard-subject-tag | issue:1168762437 |
| 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/jvlstuff/JavaVulnerableLab/197/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b1800ea15909ae83ff302a9fa1312a87076edea48a3734f64d2295ece67fe620/jvlstuff/JavaVulnerableLab/issues/197 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b1800ea15909ae83ff302a9fa1312a87076edea48a3734f64d2295ece67fe620/jvlstuff/JavaVulnerableLab/issues/197 |
| og:image:alt | CSRF issue exists @ src/main/webapp/changeCardDetails.jsp in branch refs/heads/master Method cardno=request.getParameter at line 37 of src\main\webapp\changeCardDetails.jsp gets a parameter from a ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | github-actions[bot] |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| go-import | github.com/jvlstuff/JavaVulnerableLab git https://github.com/jvlstuff/JavaVulnerableLab.git |
| octolytics-dimension-user_id | 85568152 |
| octolytics-dimension-user_login | jvlstuff |
| octolytics-dimension-repository_id | 400495131 |
| octolytics-dimension-repository_nwo | jvlstuff/JavaVulnerableLab |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 301707927 |
| octolytics-dimension-repository_parent_nwo | cx-maty-siman/JavaVulnerableLab |
| octolytics-dimension-repository_network_root_id | 301707927 |
| octolytics-dimension-repository_network_root_nwo | cx-maty-siman/JavaVulnerableLab |
| 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 | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width