GO-V.ORG
As seen in

Mass assignment vulnerability

Mass assignment (otherwise known as Autobinding in Spring MVC and ASP NET MVC, or Object injection in PHP) is a computer vulnerability where an active record pattern in a web application is abused to modify data items that the user should not normally be allowed to access such as password, granted permissions, or administrator status.[src] Mass assignment as a vulnerability was first demonstrated in 2012 by developer Egor Homakov against Github, which used the Rails web application framework.[src] Many web application frameworks offer an active record and object-relational mapping features, where external data in serialization formats is automatically converted on input into internal objects and, in turn, into database record fields.[src] If the framework's interface for that conversion is too permissive and the application designer doesn't mark specific fields as immutable, it is possible to overwrite fields that were never intended to be modified from outside (e.g.[src] admin permissions flag).[src] These vulnerabilities have been found in applications written in Ruby on Rails, ASP.NET MVC, and Java Play framework.[src] In 2012 mass assignment on Ruby on Rails allowed bypassing of mapping restrictions and resulted in proof of concept injection of unauthorized SSH public keys into user accounts at GitHub.…[src]

Mass assignment (otherwise known as Autobinding in Spring MVC and ASP NET MVC, or Object injection in PHP) is a computer vulnerability where an active record pattern in a web application is abused to modify data items that the user should not normally be allowed to access such as password, granted permissions, or administrator status.[src] Mass assignment as a vulnerability was first demonstrated in 2012 by developer Egor Homakov against Github, which used the Rails web application framework.[src] Many web application frameworks offer an active record and object-relational mapping features, where external data in serialization formats is automatically converted on input into internal objects and, in turn, into database record fields.[src] If the framework's interface for that conversion is too permissive and the application designer doesn't mark specific fields as immutable, it is possible to overwrite fields that were never intended to be modified from outside (e.g.[src] admin permissions flag).[src] These vulnerabilities have been found in applications written in Ruby on Rails, ASP.NET MVC, and Java Play framework.[src] In 2012 mass assignment on Ruby on Rails allowed bypassing of mapping restrictions and resulted in proof of concept injection of unauthorized SSH public keys into user accounts at GitHub.[src] Further vulnerabilities in Ruby on Rails allowed creation of internal objects through a specially crafted JSON structure.[src] In ASP.NET Core mapping restriction can be declared using the [BindNever] attribute.[src]

16 sentences · 16 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Mass assignment vulnerability." encyclopegia.org, 2026, https://encyclopegia.org/wiki/mass-assignment-vulnerability. Accessed 04 December 2026.

Chicago

"Mass assignment vulnerability." encyclopegia.org. Accessed December 4, 2026. https://encyclopegia.org/wiki/mass-assignment-vulnerability.

APA

encyclopegia.org. (2026). Mass assignment vulnerability. Retrieved December 4, 2026, from https://encyclopegia.org/wiki/mass-assignment-vulnerability

Accessed December 4, 2026 · CC BY-SA 4.0 · citation page · JSON

CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1375454138 · 0.5 · snapshot enwiki-001375454138

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.