From 4af842134024b70aff46ce6bf23f14e47a0c5187 Mon Sep 17 00:00:00 2001 From: 0xblackbird Date: Tue, 9 Jul 2024 06:46:54 +0200 Subject: [PATCH] feat: Added support for Misconfigured Salesforce Communities (Experience Cloud) --- templates/services.json | 59 +++++++++++++++++++++++++++++++++++++++-- 1 file changed, 57 insertions(+), 2 deletions(-) diff --git a/templates/services.json b/templates/services.json index 5c683a5..723d6be 100644 --- a/templates/services.json +++ b/templates/services.json @@ -178,7 +178,10 @@ "request": { "method": "GET", "baseURL": "https://jenkins.{TARGET}", - "path": ["/signup"], + "path": [ + "/signup", + "/jenkins/signup" + ], "body": null }, "response": { @@ -485,5 +488,57 @@ "https://support.atlassian.com/confluence-cloud/docs/make-a-space-public/" ] } + }, + { + "id": 14, + "request": { + "method": "POST", + "baseURL": "https://{TARGET}.lightning.force.com", + "path": [ + "/aura", + "/sfsites/aura", + "/s/sfsites/aura" + ], + "headers": [ + { + "Content-Type": "application/json" + } + ], + "body": "{}" + }, + "response": { + "statusCode": 401, + "detectionFingerprints": [ + "markup:\/\/aura:invalidSession", + "aura:\/\/String" + ], + "fingerprints": [ + "markup:\/\/aura:invalidSession", + "aura:\/\/String" + ] + }, + "metadata": { + "service": "salesforce", + "serviceName": "Salesforce Lightning Aura Component Enabled", + "description": "Salesforce Lightning Aura Component is enabled and if access controls are not properly enforced, it may introduce several security issues such as data leaks and potential privilege escalations.", + "reproductionSteps": [ + "Replicate the POST request", + "Observe the response manually and further enumerate global and custom Salesforce Objects. View the references for more information." + ], + "references": [ + "https://bugology.intigriti.io/misconfig-mapper-docs/services/salesforce/salesforce-lightning-aura-component-enabled", + "https://www.enumerated.ie/index/salesforce", + "https://www.enumerated.ie/index/salesforce-lightning-tinting-the-windows", + "https://infosecwriteups.com/in-simple-words-pen-testing-salesforce-saas-application-part-1-the-essentials-ffae632a00e5", + "https://infosecwriteups.com/in-simple-words-pen-testing-salesforce-saas-application-part-2-fuzz-exploit-eefae11ba5ae", + "https://infosecwriteups.com/salesforce-bug-hunting-to-critical-bug-b5da44789d3", + "https://www.biswajeetsamal.com/blog/salesforce-object-key-prefix-list/", + "https://www.varonis.com/blog/abusing-salesforce-communities", + "https://web.archive.org/web/20210116171949/https://mcafee.com/blogs/enterprise/cloud-security/17-must-enable-salesforce-security-capabilities-and-other-best-practices/", + "https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/intro_lightning.htm", + "https://help.salesforce.com/s/articleView?id=ind.media_asm_Disable_Lightning_Web_Security.htm&type=5", + "https://trailhead.salesforce.com/content/learn/modules/data_security/data_security_records" + ] + } } -] +] \ No newline at end of file