a Damn Vulnerable Serverless Application
Clone or download
Latest commit 495c643 Jan 11, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
AWS videos Jan 10, 2019
Azure Update README.md Dec 23, 2018
backend beta release Jan 9, 2019
client beta release Jan 9, 2019
.gitignore beta release Jan 9, 2019
COPYING.txt Create COPYING.txt Dec 21, 2018
README.md Update README.md Jan 11, 2019
favicon.ico Add files via upload Dec 21, 2018
news.md beta release Jan 9, 2019
package.json beta release Jan 9, 2019
serverless.yml beta release Jan 9, 2019

README.md

alt DVSA

a Damn Vulnerable Serverless Application


Damn Vulnerable Serverless Application (DVSA) is a deliberately vulnerable application aiming to be an aid for security professionals to test their skills and tools in a legal environment, help developers better understand the processes of securing serverless applications and to aid both students & teachers to learn about serverless application security in a controlled class room environment.

The aim of DVSA is to practice some of the most common serverless vulnerabilities, with a simple straightforward interface.

Please note, there are both documented and undocumented vulnerabilities with this software. This is intentional. You are encouraged to try and discover as many issues as possible.


Disclaimer

Do no install DVSA on a production account

We do not take responsibility for the way in which any one uses this application (DVSA). We have 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 DVSA on to production accounts.


Deployment

You must run serverless deploy commands with an environemant variable profile (e.g. AWS_PROFILE=<aws-profile-name>) instead of the serverless argument.

Clone Project

  • clone

Install Serverless

  • npm install -g serverless

Install AWS-CLI

  • pip install awscli --upgrade --user

Install dependencies

  • npm i

Deploy Backend

  • sls deploy

Build Client

  • npm run-script client:build

Deploy Client

  • sls client deploy

Email subscription

DVSA sends receipts in the email (which will help you in hacking it). You can use the built-in Inbox page within the application to get the emails and obtain the receipts.

Note: each user will be assigned an email from mailsac.com which will be automatically verified. Real emails will be sent to their account and will appear in the applicaiton Inbox page. All this is transparent to the user and the deployer).

Alternatively, if you want users to receive emails to their registered email account (e.g. gmail), use one of the followings:

  • Send an email verification link to email address, by running the following command (after clicking on the received link, emails will also be sent to their actual email addrss):

aws ses verify-email-identity --email-address <your_email>


Documentation

AWS

see LESSONS for information about hacking DVSA.

see VIDEOS for how to deploy, use and hack DVSA.


Links

OWASP Top 10 - Serverless Interpretation

Deep-Dive into Serverless Attacks - Series

OWASP Serverless Top 10 Project

Twitter account (hackable)

Slack Channel #project-sls-top-10

DVSA blog post

In the News


Acknowledgements

DVSA was created and contributed to OWASP by Protego Labs


License

Damn Vulnerable Serverless Application (DVSA) is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Damn Vulnerable Serverless Application (DVSA) is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with Damn Vulnerable Serverless Application (DVSA). If not, see http://www.gnu.org/licenses/.