Skip to content

Enhance CORS testing guide (Testing Cross Origin Resource Sharing) #656

@jeremychoi

Description

@jeremychoi

What's the issue?
Describe the problem and why it should be fixed. Be concise and specific. Reference sections where appropriate.

The current CORS (4-Web_Application_Security_Testing/11-Client-side_Testing/07-Testing_Cross_Origin_Resource_Sharing.md)

  • shows the examples from the 'client-side' code point of view only, although CORS is the concept that should be focused on the server-side configuration too.
  • The current location of the CORS guide, Client-side_Testing, doesn't fit completely. (I suggest it be under Configuration_and_Deployment_Management_Testing)
  • Access-Control-Allow-Credentials section needs more details
  • no References section exist

How do we solve it?
Clearly describe the solution you'd like to see implemented.

I suggest a few points:

  • add a few more examples to focus on server misconfiguration
  • add more details for Access-Control-Allow-Credentials
  • add References section
  • suggest moving it to the different section

PR will follow soon.

IMO the location of the CORS guide should be moved to under Configuration_and_Deployment_Management_Testing. FWIW, ASVS has a CORS item under V14 Configuration Verification Requirements.

Would you like to be assigned to this issue?
Check the box if you will submit a PR to fix this issue. Please read CONTRIBUTING.md.

  • Assign me, please!

Metadata

Metadata

Assignees

Labels

enhancementA new or improved feature for the WSTG or reporeviseNeeds quality review, updates, or revision

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions