SAP security note 2271018, "Missing authorization checks in function modules related to CRM knowledgebases for configurable products". Below are the symptom, reason and prerequisites and SAP recommended solution.
Description
Symptom
This security note identifies missing authorization checks in the following RFC function modules for CRM Configuration Knowledgebases:
COM_PME_GET_NEW_IDSCOM_PME_DB_INSERT_STABLECOM_PME_DB_INSERT_KB_STARTCOM_PME_DB_INSERT_KB_ENDCOM_PME_DB_INSERT_CFGKBCOM_PME_DB_INSERT_VTABLECOM_PME_DB_TRANS_STARTCOM_PME_DB_TRANS_ROLLBACKCOM_PME_DB_TRANS_COMMITCRM_SCE_DB_TRANS_INIT_RFC
Solution
To mitigate this issue, ensure that proper user authorizations are maintained for the affected function modules. Specifically, assign the following authorizations:
COM_PME_GET_NEW_IDS– Auth. ObjectCOM_PRD, Param1 ACTVT=03COM_PME_DB_INSERT_STABLE– Auth. ObjectCOM_PRD, Param1 ACTVT=03COM_PME_DB_INSERT_KB_START– Auth. ObjectCOM_PRD, Param1 ACTVT=03COM_PME_DB_INSERT_KB_END– Auth. ObjectCOM_PRD, Param1 ACTVT=03COM_PME_DB_INSERT_CFGKB– Auth. ObjectCOM_PRD, Param1 ACTVT=03COM_PME_DB_INSERT_VTABLE– Auth. ObjectCOM_PRD, Param1 ACTVT=03COM_PME_DB_TRANS_START– Auth. ObjectCOM_PRD, Param1 ACTVT=03COM_PME_DB_TRANS_ROLLBACK– Auth. ObjectCOM_PRD, Param1 ACTVT=03COM_PME_DB_TRANS_COMMIT– Auth. ObjectCOM_PRD, Param1 ACTVT=03CRM_SCE_DB_TRANS_INIT_RFC– Auth. ObjectCOM_PRD, Param1 ACTVT=01
Reason and prerequisites
Remote calls to RFC function modules are protected by checks on the authorization object S_RFC. However, it was identified that these checks might not be sufficient for the mentioned function modules, potentially allowing unauthorized access and undesired system behavior. The CRM Product Master lacks necessary authorization checks for these functions.
References
- SAP Note 1930885 – RFC-enabled function modules for copying a Knowledge Base
Full note on SAP: SAP Support Launchpad note 2271018
Detailed exploitation and proof-of-concept material for this note is maintained in the RedRays Security Platform. For access, contact [email protected].
