Skip to content

There is a CSRF vulnerability in src/main/java/org/zdd/bookstore/web/controller/CartController.java #18

Description

@liyunqiangs

This project lacks CSRF defense measures.

Image

Use Burp Suite to generate a CSRF PoC for the request package that clears the shopping cart,and then access it while the user is logged in.

Image Image

it can be seen that all the items in the shopping cart have been emptied.

Image Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions