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"
(→Cheat Sheet) (Tag: Visual edit) |
m (minor) (Tag: Visual edit) |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <div style="width:100%;height:160px;border:0,margin:0;overflow: hidden;">[[File: | + | <div style="width:100%;height:160px;border:0,margin:0;overflow: hidden;">[[File:Sgoatbanner.png|center|frameless|1950x1950px]]</div> |
− | |||
{| style="padding: 0;margin:0;margin-top:10px;text-align:left;" |- | {| style="padding: 0;margin:0;margin-top:10px;text-align:left;" |- | ||
| valign="top" style="border-right: 1px dotted gray;padding-right:25px;" | | | valign="top" style="border-right: 1px dotted gray;padding-right:25px;" | | ||
== Introduction== | == Introduction== | ||
− | OWASP ServerlessGoat is a deliberately insecure realistic AWS Lambda serverless application, maintained by OWASP. You can install | + | OWASP ServerlessGoat is a deliberately insecure realistic AWS Lambda serverless application, maintained by OWASP. |
+ | |||
+ | You can install ServerlessGoat, 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. | 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. | ||
− | + | OWASP ServerlessGoat is packaged as an AWS SAM application that's available for deployment through the [https://aws.amazon.com/serverless/serverlessrepo/ AWS Serverless Application Repository] - this provides three important benefits: | |
− | * | + | * A single click installation process. No compilation, building or packaging required |
− | * | + | * The application uses default serverless application repository permissions (SAM policy templates), making it more realistic |
− | + | * The installation doesn't create custom IAM roles or resource policies on the account in which it is deployed in | |
− | * | ||
− | + | == Disclaimer == | |
− | + | OWASP does not take responsibility for the way in which any one uses the ServerlessGoat application. OWASP made the purposes of the application clear and it should not be used maliciously. We have given warnings and taken measures to prevent users from installing ServerlessGoat on production accounts. | |
− | |||
== Details== | == Details== | ||
Line 23: | Line 22: | ||
The vulnerabilities that are included are: | The vulnerabilities that are included are: | ||
− | * Event-data | + | * Event-data injection (SAS-01) |
− | + | * Insecure Serverless Deployment Configuration (SAS-03) | |
− | * Insecure Serverless Deployment Configuration | + | * Over-privileged function permissions & roles (SAS-04) |
− | * Over-privileged function permissions & roles | + | * Inadequate function monitoring and logging (SAS-05) |
− | * Inadequate function monitoring and logging (SAS-05 | + | * Insecure 3rd Party Dependencies (SAS-06) |
− | * Insecure 3rd Party Dependencies (SAS-06) | + | * Application layer Denial of Service (SAS-08) |
− | * Application layer Denial of Service (SAS-08) | + | * Improper exception handling and verbose error messages (SAS-10) |
− | * | + | * Other undisclosed *critical* issues, as a bonus! |
==Licensing== | ==Licensing== | ||
Line 46: | Line 45: | ||
# Click on 'View CloudFormation Stack' | # Click on 'View CloudFormation Stack' | ||
# Under 'Outputs' you will find the URL for the application (WebsiteURL) | # Under 'Outputs' you will find the URL for the application (WebsiteURL) | ||
+ | |||
+ | You can find a live version of the application hosted by PureSec in the following URL: https://www.serverless-hack.me/ | ||
== Roadmap == | == Roadmap == | ||
− | * 18-December-2018: Initial | + | * '''18-December-2018''': Initial release. Collect feedback from the public ('''done''') |
− | * 1-January-2019: Beta release with additional features. | + | * '''1-January-2019''': Beta release with additional features. |
− | * 15-January: v1.0 official launch | + | * '''15-January''': v1.0 official launch |
== Project Sponsors == | == Project Sponsors == | ||
− | The project was initially developed by PureSec: | + | The project was initially developed by Ory Segal & Yuri Shapira @ [https://www.puresec.io/ PureSec]: |
[[File:PureSec-Logo.png|frameless|link=https://www.puresec.io/]] | [[File:PureSec-Logo.png|frameless|link=https://www.puresec.io/]] | ||
Line 59: | Line 60: | ||
== Cheat Sheet == | == Cheat Sheet == | ||
− | + | You can find a full walkthrough (with spoilers of course) in the [https://github.com/OWASP/Serverless-Goat/blob/master/LESSONS.md LESSONS.md] file in the Git repo | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Getting Involved== | ==Getting Involved== | ||
Line 85: | Line 68: | ||
== Project Resources == | == Project Resources == | ||
− | + | '''1-click installation''' on your own AWS account via the [https://serverlessrepo.aws.amazon.com/applications/arn:aws:serverlessrepo:us-east-1:761130837472:applications~serverless-goat AWS Serverless App Repository] | |
+ | |||
+ | A '''live version''' of the application is hosted by PureSec at: https://www.serverless-hack.me/ | ||
== Project Leader == | == Project Leader == | ||
− | [[User:Orysegal|Ory Segal]] ([mailto:[email protected] email]) | + | [[User:Orysegal|Ory Segal]] , [https://www.puresec.io/ PureSec] ([mailto:[email protected] email]) |
== Project Mailing List == | == Project Mailing List == |
Latest revision as of 06:48, 18 January 2019
IntroductionOWASP ServerlessGoat is a deliberately insecure realistic AWS Lambda serverless application, maintained by OWASP. You can install ServerlessGoat, 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. OWASP ServerlessGoat is packaged as an AWS SAM application that's available for deployment through the AWS Serverless Application Repository - this provides three important benefits:
DisclaimerOWASP does not take responsibility for the way in which any one uses the ServerlessGoat application. OWASP made the purposes of the application clear and it should not be used maliciously. We have given warnings and taken measures to prevent users from installing ServerlessGoat on production accounts. 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:
You can find a live version of the application hosted by PureSec in the following URL: https://www.serverless-hack.me/ Roadmap
Project SponsorsThe project was initially developed by Ory Segal & Yuri Shapira @ PureSec: Cheat SheetYou can find a full walkthrough (with spoilers of course) in the LESSONS.md file in the Git repo 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 Resources1-click installation on your own AWS account via the AWS Serverless App Repository A live version of the application is hosted by PureSec at: https://www.serverless-hack.me/ Project LeaderProject Mailing ListTBD Github RepoClassifications |