CRITICAL
								
				
				
				
								
				Rule Definition
				Dynamic calls bypass standard authorization checks, potentially allowing unauthorized users to execute restricted functions.				
								
				
				Remediation
				Add explicit checks for the 'S_RFC' authorization object				
												
				 Violation Code Sample
				
												 Fixed Code Sample
				
				AUTHORITY-CHECK OBJECT 'S_RFC' ID 'RFC_NAME' FIELD lv_func.
IF sy-subrc = 0.
   CALL FUNCTION (lv_func).
ENDIF.
				 
												
				Reference
				https://cwe.mitre.org/data/definitions/862.html
https://help.sap.com/doc/abapdocu_752_index_htm/7.52/en-US/abendyn_call_scrty.htm
								
				 Related Technologies
								
				
				
				
				Technical Criterion
				Secure Coding - Input Validation
				
				
				
				
				
					
				
				
				
About CAST Appmarq
					
CAST Appmarq is by far the biggest repository of data about real IT systems. It's built on thousands of analyzed applications, made of 35 different technologies, by over 300 business organizations across major verticals. It provides IT Leaders with factual key analytics to let them know if their applications are on track.