Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||||||||||
| View Issue Details | |||||||||||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||||
| 0051321 | Openbravo ERP | A. Platform | public | 2023-01-10 15:16 | 2024-02-26 14:00 | ||||||||||||||||
| Reporter | AugustoMauch | ||||||||||||||||||||
| Assigned To | jarmendariz | ||||||||||||||||||||
| Priority | normal | Severity | major | Reproducibility | have not tried | ||||||||||||||||
| Status | closed | Resolution | fixed | ||||||||||||||||||
| Platform | OS | 5 | OS Version | ||||||||||||||||||
| Product Version | |||||||||||||||||||||
| Target Version | Fixed in Version | PR24Q2 | |||||||||||||||||||
| Merge Request Status | approved | ||||||||||||||||||||
| Review Assigned To | |||||||||||||||||||||
| OBNetwork customer | Gold | ||||||||||||||||||||
| Web browser | |||||||||||||||||||||
| Modules | Core | ||||||||||||||||||||
| Support ticket | |||||||||||||||||||||
| Regression level | |||||||||||||||||||||
| Regression date | |||||||||||||||||||||
| Regression introduced in release | |||||||||||||||||||||
| Regression introduced by commit | |||||||||||||||||||||
| Triggers an Emergency Pack | No | ||||||||||||||||||||
| Summary | 0051321: Improve CSRF coverage to cover some missing POST requests | ||||||||||||||||||||
| Description | POST requests of action handlers covered by KernelServlet are not checking the CSRF token (i.e. change of role from WebPOS). A CSRF token check should be added here [1]. [1] https://gitlab.com/openbravo/product/openbravo/-/blob/master/modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/KernelServlet.java#L291 [^] | ||||||||||||||||||||
| Steps To Reproduce | Open WebPOS Change the role. Notice that no CSRF token is included, but the POST request is processed with success (see image) | ||||||||||||||||||||
| Proposed Solution | |||||||||||||||||||||
| Additional Information | |||||||||||||||||||||
| Tags | No tags attached. | ||||||||||||||||||||
| Relationships |
| ||||||||||||||||||||
| Attached Files | https://issues.openbravo.com/file_download.php?file_id=19089&type=bug https://issues.openbravo.com/file_download.php?file_id=19386&type=bug https://issues.openbravo.com/file_download.php?file_id=19387&type=bug | ||||||||||||||||||||
| Issue History | |||||||||||||||||||||
| Date Modified | Username | Field | Change | ||||||||||||||||||
| 2023-01-10 15:16 | AugustoMauch | New Issue | |||||||||||||||||||
| 2023-01-10 15:16 | AugustoMauch | Assigned To | => gdagnesses | ||||||||||||||||||
| 2023-01-10 15:16 | AugustoMauch | OBNetwork customer | => No | ||||||||||||||||||
| 2023-01-10 15:16 | AugustoMauch | Modules | => Core | ||||||||||||||||||
| 2023-01-10 15:16 | AugustoMauch | Triggers an Emergency Pack | => No | ||||||||||||||||||
| 2023-01-10 16:27 | hgbot | Merge Request Status | => open | ||||||||||||||||||
| 2023-01-10 16:27 | hgbot | Note Added: 0145243 | |||||||||||||||||||
| 2023-01-12 09:42 | AugustoMauch | Status | new => scheduled | ||||||||||||||||||
| 2023-10-24 15:01 | fermin_ostivar | Note Added: 0156231 | |||||||||||||||||||
| 2023-10-24 15:01 | fermin_ostivar | Assigned To | gdagnesses => | ||||||||||||||||||
| 2023-10-24 15:03 | fermin_ostivar | File Added: 0051321.png | |||||||||||||||||||
| 2023-12-05 14:07 | hector_hernaez | Issue Monitored: hector_hernaez | |||||||||||||||||||
| 2023-12-21 13:33 | egoitz | OBNetwork customer | No => Gold | ||||||||||||||||||
| 2023-12-21 13:33 | egoitz | Assigned To | => AugustoMauch | ||||||||||||||||||
| 2024-01-25 10:57 | AugustoMauch | Summary | Improve CSRF coverage => Improve CSRF coverage to cover some missing POST requests | ||||||||||||||||||
| 2024-01-25 10:57 | AugustoMauch | Description Updated | bug_revision_view_page.php?rev_id=27401#r27401 | ||||||||||||||||||
| 2024-01-25 10:57 | AugustoMauch | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=27403#r27403 | ||||||||||||||||||
| 2024-01-25 10:58 | AugustoMauch | File Added: POST_Request_200.png | |||||||||||||||||||
| 2024-01-25 10:59 | AugustoMauch | File Added: POST_Request_No_CSRF.png | |||||||||||||||||||
| 2024-01-25 10:59 | AugustoMauch | Assigned To | AugustoMauch => jarmendariz | ||||||||||||||||||
| 2024-01-31 16:13 | hgbot | Note Added: 0160025 | |||||||||||||||||||
| 2024-02-01 14:20 | maite | Issue Monitored: networkb | |||||||||||||||||||
| 2024-02-18 22:11 | hgbot | Note Added: 0160875 | |||||||||||||||||||
| 2024-02-26 12:25 | hgbot | Merge Request Status | open => approved | ||||||||||||||||||
| 2024-02-26 12:26 | hgbot | Note Added: 0161255 | |||||||||||||||||||
| 2024-02-26 12:26 | hgbot | Note Added: 0161256 | |||||||||||||||||||
| 2024-02-26 13:59 | hgbot | Note Added: 0161259 | |||||||||||||||||||
| 2024-02-26 13:59 | hgbot | Note Added: 0161260 | |||||||||||||||||||
| 2024-02-26 14:00 | hgbot | Note Added: 0161261 | |||||||||||||||||||
| 2024-02-26 14:00 | hgbot | Resolution | open => fixed | ||||||||||||||||||
| 2024-02-26 14:00 | hgbot | Status | scheduled => closed | ||||||||||||||||||
| 2024-02-26 14:00 | hgbot | Fixed in Version | => PR24Q2 | ||||||||||||||||||
| 2024-02-26 14:00 | hgbot | Note Added: 0161262 | |||||||||||||||||||
| 2024-03-11 10:27 | AugustoMauch | Relationship added | causes 0054801 | ||||||||||||||||||
| 2024-03-22 11:35 | alostale | Relationship added | causes 0055012 | ||||||||||||||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||