✏️Oracle APEX
Basics
APEX URL Synthax
Application ID:Page ID:Session ID:Request:Debug:Clear Cache:Item Names:Item Values:Printer Friendly
APEX URL that refers to Page 1 of Application 100 : http://localhost/apex/f?p=100:1:12432087235079
Interesting endpoints
# admin interfaces
/apex/apex_admin
/i/apex_admin
/pls/apex/apex_admin
/ords/<workspace_name>/builder
# dev URL
/apex/wwv_flow.show?P_FLOW_ID=APP_ID
# web service
/apex/APP_ALIAS/wwv_flow.ajax
/apex/APP_ALIAS/wwv_flow.file_upload
/apex/APP_ALIAS/wwv_flow.accept
# misc
/apex/f?p=13000:1 # Packaged applications
/apex/f?p=4700 # Application Builder
/apex/f?p=4000:4500 # Team Development
/apex/f?p=4350 # SQL Workshop
/apex/f?p=4950 # Administration Services
Info Leak
Source code :
APEX_VERSION
application-version
apex-version
JS files :
.js?v=$version
META :
<!-- EXAMPLE -->
<meta name="generator" content="Oracle Application Express 5.1">
Testing Authorization and Authentification
Check the login process for weaknesses, such as :
Insecure transmission of login data,
Weak password requirements,
Susceptibility to brute force attacks (is there any account lockout ?),
Try to access resources without proper authorization to see if the application correctly restricts access.
Testing IDOR
Burp Intruder
https://my.app.com/apex/f?p=x:y:SESSION:::::ITEM:ITEM_VALUE
x = application ID y = page ID
Capture a request in the proxy and send it to the Intruder tool. Set your payload position on the pageID parameter
Under Payloads, choose the “Numbers” payload and set an appropriate range you’d like to test.
Run
Testing SQLi
sqlmap
See slide n°24 for more infos
Rewrite with wwv_flow.show :
sqlmap -u "https://app.oracle.com/ords/wwv_flow.show?p_flow_id=112&p_flow_step_id=5&p_instance=14720048029141&p_arg_name=RP,45&p_arg_value=F_DISPLAY" --batch --dbms Oracle --level 3 --risk 3
Last updated
Was this helpful?