Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0049051 | Openbravo ERP | A. Platform | public | 2022-04-12 12:27 | 2022-04-26 14:27 |
|
Reporter | fermin_ostivar | |
Assigned To | AugustoMauch | |
Priority | immediate | Severity | critical | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | pi | |
Target Version | PR22Q2 | Fixed in Version | PR22Q2 | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0049051: XML parsers XXE attacks vulnerabilty |
Description | We have detected a SaxParser vulnerable to XXE attach in the class TranslationManager
final SAXParserFactory factory = SAXParserFactory.newInstance();
final SAXParser parser = factory.newSAXParser();
parser.parse(in, handler);
https://gitlab.com/openbravo/product/openbravo/-/blob/master/src/org/openbravo/erpCommon/ad_forms/TranslationManager.java#L641 [^]
https://gitlab.com/openbravo/product/openbravo/-/blob/master/src/org/openbravo/erpCommon/ad_forms/TranslationManager.java#L666 [^]
|
Steps To Reproduce | N/A |
Proposed Solution | To create a new get method in the class XMLUtil.java as newSAXReader and to call it in the lines reported previously |
Additional Information | |
Tags | No tags attached. |
Relationships | blocks | design defect | 0049039 | | closed | AugustoMauch | XML parsers XXE attacks vulnerabilty |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2022-04-13 13:24 | AugustoMauch | Type | design defect => backport |
2022-04-13 13:24 | AugustoMauch | Target Version | => PR22Q2 |
2022-04-25 17:01 | hgbot | Note Added: 0136725 | |
2022-04-26 14:27 | hgbot | Resolution | open => fixed |
2022-04-26 14:27 | hgbot | Status | scheduled => closed |
2022-04-26 14:27 | hgbot | Fixed in Version | => PR22Q2 |
2022-04-26 14:27 | hgbot | Note Added: 0136757 | |
2022-04-26 14:27 | hgbot | Note Added: 0136758 | |