ERP security

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

ERP Security is a wide range of measures aimed at protecting Enterprise resource planning (ERP) systems from illicit access ensuring accessibility and integrity of system data. ERP system is a computer software that serves to unify the information intended to manage the company including Production, Supply Chain Management, Financial Management, Human Resource Management, Customer Relationship Management, Enterprise Performance Management, etc. Common ERP systems are SAP, Oracle E-Business Suite, Microsoft Dynamics.[1]

Review[edit]

ERP system integrates business processes enabling procurement, payment, transport, human resources management, product management, and financial planning.[2] As ERP system stores confidential information, ISACA recommends to regularly conduct a comprehensive assessment of ERP system security, checking ERP servers for software vulnerabilities, configuration errors, segregation of duties conflicts, compliance with relevant standards and recommendations, and recommendations of vendors.[3][4]

Causes for vulnerabilities in ERP systems[edit]

Complexity[edit]

ERP systems process transactions and implement procedures to ensure that users have different access privileges. There are hundreds of authorization objects in SAP permitting users to perform actions in the system. In case of 200 users of the company, there are approximately 800,000 (100*2*20*200) ways to customize security settings of ERP systems.[5] With the growth of complexity, the possibility of errors and segregation of duties conflicts increases.[6]

Specificity[edit]

Vendors fix vulnerabilities on the regular basis since hackers monitor business applications to find and exploit security issues. SAP releases patches monthly on Patch Tuesday, Oracle issues security fixes every quarter in Oracle Critical Patch Update. Business applications are becoming more exposed to the Internet or migrate to the cloud.[7]

Lack of competent specialists[edit]

ERP Cybersecurity survey[8] revealed that organizations running ERP systems "lack both awareness and actions taken towards ERP security".[9] ISACA states that "there is a shortage of staff members trained in ERP security"[10] and security services have the superficial understanding of risks and threats associated with ERP systems. Consequently, security vulnerabilities complicate undertakings such as detecting and subsequent fixing.[7][11]

Lack of security auditing tools[edit]

ERP security audit is done manually as various tools with ERP packages do not provide means for system security auditing. Manual auditing is a complex and time-consuming process that increases the possibility of making a mistake.[12]

Large number of customized settings[edit]

The system includes thousands of parameters and fine settings including segregation of duties for transactions and tables, and the security parameters are set for every single system. ERP system settings are customized according to customers' requirements.

Security issues in ERP systems[edit]

Security issues occur in ERP systems at different levels.

Network layer[edit]

Traffic interception and modification

  • absence of data encryption

In 2011, Sensepost specialists analyzed DIAG protocol used in SAP ERP system for transferring data from the client to the SAP server. Two utilities were published that allowed to intercept, decrypt, and modify client-server requests containing critical information. This made attacks possible including Man-in-the-middle attack. The second utility operates like a Proxy and was created to identify new vulnerabilities. It allowed modifying requests coming to client and server.[13]

  • sending password in cleartext (SAP J2EE Telnet / Oracle listener old versions)

In the SAP ERP system, it is possible to perform administering functions via Telnet protocol, which encrypts passwords.

Vulnerabilities in encryption or authentication protocols'

  • authentification by hash
  • XOR password encryption (SAP DIAG)
  • imposing the use of outdated authentication protocols
  • incorrect authentication protocols

Vulnerabilities in protocols (e.g. RFC in SAP ERP and Oracle Net in Oracle E-Business Suite). RFC protocol is used (Remote Function Call) to connect two systems by TCP/IP in SAP ERP. RFC call is a function that enables calling and running a functional module located in a system. The ABAP language that is used for writing business applications for SAP have functions to make RFC calls. Several critical vulnerabilities were found in SAP RFC Library versions 6.x and 7.x[14]:

  • RFC function "RFC_SET_REG_SERVER_PROPERTY" allows determining an exclusive use of RFC server. Vulnerability exploits lead to a denial of access for the legitimate users. denial of service becomes possible.
  • Error in RFC function "SYSTEM_CREATE_INSTANCE". Exploiting vulnerability allows executing arbitrary code.
  • Error in RFC function "RFC_START_GUI". Exploiting vulnerability also allows executing arbitrary code.
  • Error in RFC function "RFC_START_PROGRAM". Exploiting vulnerability allows executing arbitrary code or gain information about RFC server configuration.
  • Error in RFC function "TRUSTED_SYSTEM_SECURITY". Exploiting vulnerability allows obtaining information about existing users and groups in RFC server.

Operating system level[edit]

OS software vulnerabilities

  • any remote vulnerability in OS is used to gain access to applications

Weak OS passwords

  • remote password brute-forcing
  • empty passwords for remote management tools like Radmin and VNC

Insecure OS settings

  • NFS and SMB. SAP data becomes accessible to remote users via NFS an SMB
  • file access rights. Critical SAP and DBMS Oracle data files have insecure access rights such as 755 and 777
  • insecure hosts settings. In the trusted hosts, servers can be listed and an attacker easily accesses them

Application vulnerabilities[edit]

ERP systems transfer more functionality on the web applications level with a lot of vulnerabilities:

  • Web application vulnerabilities (XSS, XSRF, SQL Injection, Response Splitting, Code Execution)
  • Buffer overflow and format string in web-servers and application-servers (SAP IGS, SAP Netweaver, Oracle BEA Weblogic)
  • Insecure privileges for access (SAP Netweaver, SAP CRM, Oracle E-Business Suite)

Role-based access control[edit]

In ERP systems, RBAC (Role-Based Access Control) model is applied for users to perform transactions and gain access to business objects.[15] In the model, the decision to grant access to a user is made based on the functions of users, or roles. Roles are a multitude of transactions the user or a group of users performs in the company. Transaction is a procedure of transforming system data, which helps perform this transaction. For any role, there is a number of corresponding users with one or multiple roles. Roles can be hierarchical. After the roles are implemented in the system, transactions corresponding to each role rarely change. The administrator needs to add or delete users from roles. The administrator provides a new user with a membership in one or more roles. When employees leave the organization, the administrator removes them from all the roles.[16]

Segregation of Duties[edit]

Segregation or Separation of duties, also known as SoD, is the concept according to which a user cannot make a transaction without other users (e.g. a user cannot add a new supplier, write out a cheque or pay to a supplier)[17] and a risk of fraud is much lower.[18] SoD can be implemented by RBAC mechanisms, and a notion of mutually exclusive roles is introduced. For instance, to pay a supplier, one user initiates payment procedure and another accepts it.[19] In this case, initiating payment and accepting are mutually exclusive roles. Segregation of duties can be either static or dynamic. With static SoD (SSoD), a user cannot belong to two mutually exclusive roles. With dynamic SoD (DSoD), a user does but cannot perform them within one transaction. Both of them have their own advantages. SSoD is simple, while DSoD is flexible.[20] Segregation of Duties is explained in SoD matrix. X and Y matrixes describe system roles. If the two roles are mutually exclusive, there is a flag at the interception of the corresponding rows and columns.

ERP Security scanners[edit]

ERP Security scanner is a software intended to search for vulnerabilities in ERP systems. Scanner analyzes configurations of ERP system, searches for misconfigurations, access control and encryption conflicts, insecure components, and checks for updates. The scanner checks system parameters for compliance with the manufacturer's recommendations and auditing procedures ISACA. ERP Security scanners produce reports with the vulnerabilities listed according to their criticality. The examples of scanners:

References[edit]

  1. ^ "ERP (enterprise resource planning)". SearchERP TechTarget. May 2017. Retrieved 6 April 2018.
  2. ^ "What Is ERP?". Retrieved 6 April 2018.
  3. ^ Security issues in ERP http://www.isaca.org/Knowledge-Center/Research/ResearchDeliverables/Pages/sap-erp.aspx
  4. ^ "Why security should be a priority for an ERP ecosystem". Information Age. 31 August 2017. Retrieved 6 April 2018.
  5. ^ ERP Security and Segregation of Duties Audit: A Framework for Building an Automated Solution https://csbweb01.uncw.edu/people/ivancevichd/classes/MSA%20516/Extra%20Readings%20on%20Topics/Database/ERP%20Security.pdf
  6. ^ Security issues in ERP http://www.isaca.org/Knowledge-Center/Research/ResearchDeliverables/Pages/sap-erp.aspx
  7. ^ a b "ERP Security Deserves Our Attention Now More Than Ever". Forbes. 7 July 2017. Retrieved 6 April 2018.
  8. ^ ERP Cybersecurity survey 2017 https://erpscan.com/research/white-papers/erp-cybersecurity-survey-2017/
  9. ^ "Survey reveals the damage of fraud attacks against SAP system is estimated at $10m". CSO from IDG. 27 June 2017. Retrieved 6 April 2018.
  10. ^ ERP Security and Segregation of Duties Audit: A Framework for Building an Automated Solution https://csbweb01.uncw.edu/people/ivancevichd/classes/MSA%20516/Extra%20Readings%20on%20Topics/Database/ERP%20Security.pdf
  11. ^ "Six classic ERP system security problems – and how to avoid them". CloudTech. 10 May 2017. Retrieved 6 April 2018.
  12. ^ Security issues in ERP http://www.isaca.org/Knowledge-Center/Research/ResearchDeliverables/Pages/sap-erp.aspx
  13. ^ ERPScan warns about new vulnerabilities of DIAG protocol in SAP[permanent dead link]
  14. ^ SAP RFC Library Multiple Vulnerabilities http://www.cnet.com/forums/post/7986898c-0a03-43d4-af70-b8427164c8e2
  15. ^ Security for Enterprise Resource Planning Systems http://www.utdallas.edu/~bxt043000/Publications/Journal-Papers/DAS/J46_Security_for_Enterprise_Resource_Planning_Systems.pdf
  16. ^ Role-Based Access Controls http://csrc.nist.gov/rbac/ferraiolo-kuhn-92.pdf
  17. ^ ISACA Glossary Terms http://www.isaca.org/Knowledge-Center/Lists/ISACA%20Glossary%20Terms/DispForm.aspx?ID=1700
  18. ^ A risk-based approach to segregation of duties http://www.ey.com/Publication/vwLUAssets/EY_Segregation_of_duties/$FILE/EY_Segregation_of_dutie/s.pdf
  19. ^ R. A. Botha and J. H. P. Eloff Separation of Duties for Access Control Enforcement in Workflow Environments
  20. ^ Simple Search http://www.bth.se/fou/cuppsats.nsf/all/52d12689b4758c84c12572a600386f1d/$file/mcs-2006-16.pdf Archived 2015-02-26 at the Wayback Machine

ERP Security[edit]