This site is the archived OWASP Foundation Wiki and is no longer accepting Account Requests.
To view the new OWASP Foundation website, please visit https://owasp.org
Difference between revisions of "OWASP Serverless Goat"
m (Minor edit) (Tag: Visual edit) |
m (→Cheat Sheet) (Tag: Visual edit) |
||
Line 74: | Line 74: | ||
* The vulnerable package is <code>node-uuid</code> | * The vulnerable package is <code>node-uuid</code> | ||
* Application layer Denial of Service (SAS-08), which can be easily demonstrated | * Application layer Denial of Service (SAS-08), which can be easily demonstrated | ||
− | * An attacker may invoke the API recursively multiple times, essentially spawning enough instances to reach the function's reserved capacity limit (which is set to 5). An undisclosed ''critical'' issue, as a bonus! | + | * An attacker may invoke the API recursively multiple times, essentially spawning enough instances to reach the function's reserved capacity limit (which is set to 5). Recursive invocation can be done by invoking the API with itself as the `document_url` parameter (URL-encoded), which by itself calls itself (double-URL encoded), etc. (x5 times). |
+ | * An undisclosed ''critical'' issue, as a bonus! | ||
==Getting Involved== | ==Getting Involved== |
Revision as of 13:16, 18 December 2018
IntroductionOWASP ServerlessGoat is a deliberately insecure realistic AWS Lambda serverless application, maintained by OWASP. You can install WebGoat, learn about the vulnerabilities, how to exploit them, and how to remediate each issue. The project also includes documentation explaining the issues and how they should be remediated with best-practices. As serverless adoption is expected to continue growing and reach new audiences, we see the importance of education on topics such as how to build robust, secure and reliable AWS Lambda serverless applications. This project will expose developers and security practitioners to basic serverless security concepts, risks, attacks and mitigation best-practices. There were a few key principles that we wanted to follow when designing this demo vulnerable application:
Given these key principles, we chose to develop and package the application an AWS SAM application that's available for deployment through the AWS Serverless Application Repository - however, this meant that we had to use the supported SAM policy templates. While this decision imposes some limitations on what capabilities were available for us, it presented two important benefits:
DetailsThe application is a service which receives a URL to a Word document (with a .doc extension - Office 97-2004), and will reply with an HTML page containing the extracted text. The vulnerabilities that are included are:
LicensingThe OWASP ServerlessGoat project is free for use. You can redistribute it and/or modify it under the terms of the link GNU Affero General Public License 3.0 as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. DeploymentServerlessGoat is a simple AWS Lambda application, which serves as a MS-Word .doc file to plain text converter service. It receives a URL to a .doc file as input, and will return the text inside the document back to the API caller. The application is packaged and published for deployment through the AWS Serverless Application Repository. Steps for deployment:
Roadmap
Project SponsorsThe project was initially developed by PureSec: Cheat SheetThe following security issues exist in the application:
Getting InvolvedYou do not have to be a security expert or a programmer to contribute. Contact the Project Leader(s) to get involved, we welcome any type of suggestions and comments. |
Project ResourcesDeployment via the AWS Serverless App Repository Project LeaderProject Mailing ListTBD Github RepoClassifications
|