Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0033355
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] C. Securitymajorhave not tried2016-06-24 13:412016-08-11 18:40
ReporterAugustoMauchView Statuspublic 
Assigned Tocaristu 
PrioritynormalResolutionfixedFixed in Version3.0PR16Q4
StatusclosedFix in branchFixed in SCM revision5a3558090511
ProjectionnoneETAnoneTarget Version3.0PR16Q4
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toalostale
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0033355: Potential security issue in Process Definitions

DescriptionIn a process definition, it is possible to update a record that belongs to a client other than the current one, even if the OBContext is not in Administrator Mode.
Steps To Reproduce- Apply the patch that will be attached to the issue. This patch adds a Process Definition to the Client window, where the System client is shown in all clients. The process definition updates the selected record.
- Log in with a client other than System
- Open the Client window
- Select the System client and press the new button. Check that the client has been modified, even though it shouldn't have been allowed.
TagsNo tags attached.
Attached Filesdiff file icon issueProcessDefinition.diff [^] (24,357 bytes) 2016-06-27 09:51 [Show Content]
diff file icon issue33355.diff [^] (742 bytes) 2016-06-27 09:51 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0033166 closedalostale Openbravo ERP Role with access to one organization can edit all of them in Organization window 
related to feature request 0033239RR16Q3 closedSandrahuguet Retail Modules Provide a proces to recreate the mobile server authentication key 

-  Notes
(0088551)
hgbot (developer)
2016-07-18 13:16

Repository: erp/devel/pi
Changeset: 5a3558090511f4d767ae11c5a3aee2c74708e9f9
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Mon Jul 18 13:15:07 2016 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/5a3558090511f4d767ae11c5a3aee2c74708e9f9 [^]

fixes issue 33355: Potential security issue in Process Definitions
The problem was that in SecurityChecker the checking for write access was not considering that the object being written could be an instance of Client (This class is the only DAL generated class which does not implement the ClientEnabled interface).

---
M src/org/openbravo/dal/security/SecurityChecker.java
---
(0088625)
alostale (manager)
2016-07-22 10:41

code reviewed + tested
(0089018)
hudsonbot (developer)
2016-08-11 18:40

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/edaa05b1fb18 [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2016-06-24 13:41 AugustoMauch New Issue
2016-06-24 13:41 AugustoMauch Assigned To => platform
2016-06-24 13:41 AugustoMauch Modules => Core
2016-06-24 13:41 AugustoMauch Triggers an Emergency Pack => No
2016-06-24 13:43 caristu Assigned To platform => caristu
2016-06-24 13:43 caristu Status new => acknowledged
2016-06-27 09:25 caristu Relationship added related to 0033166
2016-06-27 09:25 caristu Status acknowledged => scheduled
2016-06-27 09:25 caristu Target Version => 3.0PR16Q4
2016-06-27 09:48 caristu File Added: issue33355.diff
2016-06-27 09:51 caristu File Deleted: issue33355.diff
2016-06-27 09:51 caristu File Added: issueProcessDefinition.diff
2016-06-27 09:51 caristu File Added: issue33355.diff
2016-06-27 10:08 Sandrahuguet Relationship added related to 0033239
2016-07-18 13:16 hgbot Checkin
2016-07-18 13:16 hgbot Note Added: 0088551
2016-07-18 13:16 hgbot Status scheduled => resolved
2016-07-18 13:16 hgbot Resolution open => fixed
2016-07-18 13:16 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/5a3558090511f4d767ae11c5a3aee2c74708e9f9 [^]
2016-07-18 13:16 caristu Review Assigned To => alostale
2016-07-18 13:16 caristu Issue Monitored: alostale
2016-07-22 10:41 alostale Note Added: 0088625
2016-07-22 10:41 alostale Status resolved => closed
2016-07-22 10:41 alostale Fixed in Version => 3.0PR16Q4
2016-08-11 18:40 hudsonbot Checkin
2016-08-11 18:40 hudsonbot Note Added: 0089018


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker