HexBrain

Nextcloud · Report #1390331

SQL injextion via vulnerable doctrine/dbal version

Validstatus
highseverity
10upvotes
11 May 2022disclosed

Summary

Advisory at https://github.com/nextcloud/security-advisories/security/advisories/GHSA-539w-xvpg-wj29

How it was found

Summary:

SQL injection via limit parameter on user facing APIs

Steps To Reproduce:

Run security scanner:

  1. REPORT /remote.php/dav/comments/files/1985
  2. XML input oc:filter-comments.oc:limit#text was set to 1'"
  3. You have an error in your SQL syntax

Supporting Material/References:

For more details see: https://github.com/nextcloud-gmbh/h1/issues/197

Impact

Full flexed SQL injection via user provided input

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original