[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-680125-105":59,"doc-detail-680125-en":130,"doc-similar-680125":161},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","automated-black-box-testing-of-mass-assignment-vulnerabilities-in-restful-apis","Automated Black-box Testing of Mass Assignment Vulnerabilities in RESTful APIs","","Mass assignment is a prominent RESTful API vulnerability caused by misconfiguration in common web frameworks, enabling attackers to craft malicious requests that override data intended to be read-only. The work presents an automated black-box testing method that generates execution scenarios solely from an OpenAPI specification, clusters similar operations, identifies candidate read-only fields, and builds interaction sequences from abstract templates. A dedicated oracle evaluates runs to determine exploitability, and experiments show high accuracy on seeded vulnerabilities across multiple languages.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/automated-black-box-testing-of-mass-assignment-vulnerabilities-in-restful-apis/680125/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/automated-black-box-testing-of-mass-assignment-vulnerabilities-in-restful-apis/680125.png","ImageObject",300,407,{"name":92,"@type":93},"Aurelia","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-19","2026-11-05",true,{"@type":102,"interactionType":103,"userInteractionCount":19},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What causes mass assignment vulnerabilities in RESTful APIs?","Question",{"text":112,"@type":113},"They stem from misconfiguration in common web frameworks that automatically bind attacker-controlled input parameters to internal data representations.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How does the approach generate tests without source code access?",{"text":117,"@type":113},"Execution scenarios are generated purely from the OpenAPI specification by analyzing available operations and their message formats, then using clustering and abstract testing templates.",{"name":119,"@type":110,"acceptedAnswer":120},"How is success of an attack determined?",{"text":121,"@type":113},"Test interactions are executed and assessed by a specific security oracle that reveals whether the mass assignment vulnerability can be successfully exploited.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},680125,1793914087,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":19,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":129,"read_time":41,"preview_page_count":19,"preview_urls":144},1099514068365,"https://ap-avatar.wpscdn.com/avatar/10000253d8d9f28188e?x-image-process=image/resize,m_fixed,w_180,h_180&k=1794309523707217728","2023 IEEE/ACM 45th International Conference on Software Engineering (ICSE) ©2023 IEEE DOI: 10.1109/ICSE48619.2023.00213| 978-1-6654-5701-9/23/$31.00 |   \n2023 IEEE/ACM 45th International Conference on Software Engineering (ICSE)  \nAutomated Black-box Testing of Mass Assignment Vulnerabilities in RESTful APIs  \nDavide Corradini∗ , Michele Pasqua† and Mariano Ceccato‡  \nDepartment of Computer Science  \nUniversity of Verona – Verona, Italy  \nEmail:∗[davide.corradini@univr.it](davide.corradini@univr.it),†[michele.pasqua@univr.it](michele.pasqua@univr.it),‡[mariano.ceccato@univr.it](mariano.ceccato@univr.it)  \nAbstract—Mass assignment is one of the most prominent vulnerabilities in RESTful APIs that originates from a misconﬁguration in common web frameworks. This allows attackers to exploit naming convention and automatic binding to craft malicious requests that (massively) override data supposed to be read-only.  \nIn this paper, we adopt a black-box testing perspective to automatically detect mass assignment vulnerabilities in RESTful APIs. Indeed, execution scenarios are generated purely based on the OpenAPI speciﬁcation, that lists the available operations and their message format. Clustering is used to group similar operations and reveal read-only ﬁelds, the latter are candidates for mass assignment. Then, test interaction sequences are automatically generated by instantiating abstract testing templates, with the aim of trying to use the found read-only ﬁelds to carryout a mass assignment attack. Test interactions are run, and their execution is assessed by a speciﬁc oracle, in order to reveal whether the vulnerability could be successfully exploited.  \nThe proposed novel approach has been implemented and evaluated on a set of case studies written in different programming languages. The evaluation highlights that the approach is quite effective in detecting seeded vulnerabilities, with a remarkably high accuracy.  \nIndex Terms—REST API, Security testing, Black-box testing, Automated software testing, Mass assignment  \nI. INTRODUCTION  \nRESTful APIs (or REST APIs for short) are becoming the standard technology to access web-oriented resources and to interconnect software systems across the public Internet. They operate on the web using the [HTTP protocol](HTTP protocol), typically exchanging JSON payloads, and for this reason they are also known as Web APIs.  \nConsidering their dominant responsibility as cornerstone integration technology to interconnect different computer systems, it is crucial to reveal defects and vulnerabilities in their implementation as soon as possible. In fact, the security of the overall integrated system builds on top of the security of the atomic REST APIs that take part to the composition.  \nSpeciﬁc vulnerabilities are known to impend REST APIs, as reported by the OWASP Foundation in their annual survey1. In particular, mass assignment is among the most prominent vulnerabilities that are peculiar to this programming domain. This vulnerability originates from a wrong conﬁguration of common REST API frameworks, that typically provide an  \n1[https://owasp.org/www-project-api-security/](https://owasp.org/www-project-api-security/)  \nautomatic binding between input data parameters2 (controlled by a potential attacker) to internal data representation (e.g., to database columns) . A successful exploit to a mass assignment vulnerability would allow attackers to manipulate private data, provided that they are able to guess names in the internal data structures (e.g., database tables/columns) used by the API.  \nA largely adopted perspective adopted to automatically test REST APIs [1]–[5] is black-box testing, that does not require access to the APIs source code. In this context, test scenarios are generated by only using the API formal documentation (the API speciﬁcation), as provided by developers. Also in the present work we adopt a black-box approach, since it allows to successfully test REST APIs that are ","cbCaicRXNDLLEf9E","https://ap.wps.com/l/cbCaicRXNDLLEf9E","pdf",213030,12,"English","# Introduction\n# Background\n## REST APIs and security\n## Mass assignment vulnerability\n# Proposed approach\n## Analyzing API specifications\n## Clustering and heuristics for read-only fields\n## Generating test templates and sequences\n## Security oracle for exploitability","[{\"question\":\"What causes mass assignment vulnerabilities in RESTful APIs?\",\"answer\":\"They stem from misconfiguration in common web frameworks that automatically bind attacker-controlled input parameters to internal data representations.\"},{\"question\":\"How does the approach generate tests without source code access?\",\"answer\":\"Execution scenarios are generated purely from the OpenAPI specification by analyzing available operations and their message formats, then using clustering and abstract testing templates.\"},{\"question\":\"How is success of an attack determined?\",\"answer\":\"Test interactions are executed and assessed by a specific security oracle that reveals whether the mass assignment vulnerability can be successfully exploited.\"}]","Automated Black-box Testing of Mass Assignment Vulnerabilities in RESTful APIs | PDF",[145,149,153,157],{"page_no":8,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-19/76da0e1f730d84ec0b1744c5ddba384a.webp",983,1272,{"page_no":14,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-19/5f91eae0d3c64f6dd8ba50864be7cc2c.webp",982,1270,{"page_no":81,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-19/9e0de5dfe4bcf21ef9cf378263832d8e.webp",981,1269,{"page_no":19,"url":158,"width":159,"height":160},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-19/7a32e4da87751040c0b412bfee7609a7.webp",980,1268,{"list":162,"token":66},[163,169,176,182,189,196,203,210,217,223],{"doc_id":164,"doc_title":165,"file_type":137,"home_preview_img_url":166,"slug":167,"view_count":81,"category_name":40,"create_tm":168},696156,"Building Robust REST APIs with Spring Boot - A Practical Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230009756946/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796214899&Signature=BdhgpDxG6ig6hxmn79p9E5l%2F2Jw%3D","building-robust-rest-apis-with-spring-boot-a-practical-guide",1794431611,{"doc_id":170,"doc_title":171,"file_type":137,"home_preview_img_url":172,"slug":173,"view_count":174,"category_name":40,"create_tm":175},122136,"A Web Application to Detect Phishing Links Using Machine Learning Approach","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229836734910/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796214899&Signature=X0HvflDI1%2Bv%2FWZy4hPP8HdBgpVo%3D","a-web-application-to-detect-phishing-links-using-machine-learning-approach",28,1785808994,{"doc_id":177,"doc_title":178,"file_type":137,"home_preview_img_url":179,"slug":180,"view_count":174,"category_name":40,"create_tm":181},86489,"Large Language Models in Misinformation Ecosystems: Misuse, Defense, and Vulnerability","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809421821/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796214899&Signature=R6MYppOhRguplCJ1WhBmX44v%2BLE%3D","large-language-models-in-misinformation-ecosystems-misuse-defense-and-vulnerability",1784212110,{"doc_id":183,"doc_title":184,"file_type":137,"home_preview_img_url":185,"slug":186,"view_count":187,"category_name":40,"create_tm":188},118544,"Adversarial Machine Learning: Methods for Attacks and Defenses - Dissertation Abstract","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229834616260/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796214899&Signature=Om1mwiQ7%2FD7qNMYybtHJITdZi%2Bw%3D","adversarial-machine-learning-methods-for-attacks-and-defenses-dissertation-abstract",35,1785684074,{"doc_id":190,"doc_title":191,"file_type":137,"home_preview_img_url":192,"slug":193,"view_count":194,"category_name":40,"create_tm":195},82513,"KidnapRAG A Black-Box Attack for Hijacking Reasoning in Agentic Retrieval-Augmented Generation Systems","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808752956/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796214899&Signature=UtY%2FSS0sAPgtpQFlR0AH%2FzZChBw%3D","kidnaprag-a-black-box-attack-for-hijacking-reasoning-in-agentic-retrieval-augmented-generation-systems",34,1784181048,{"doc_id":197,"doc_title":198,"file_type":137,"home_preview_img_url":199,"slug":200,"view_count":201,"category_name":40,"create_tm":202},83045,"Ordering by Unanimity Giving Applications Sequencing Rights Without Breaking Composability","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808929342/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796214899&Signature=jedsSU4vER2w8H85Wr5WgFBzol4%3D","ordering-by-unanimity-giving-applications-sequencing-rights-without-breaking-composability",26,1784184849,{"doc_id":204,"doc_title":205,"file_type":137,"home_preview_img_url":206,"slug":207,"view_count":208,"category_name":40,"create_tm":209},84300,"Beware What You Autocomplete: Forensic Attribution of Backdoored Code Completions","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809159832/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796214899&Signature=pDhSWEFECs2eIUMAIhidxua7f0E%3D","beware-what-you-autocomplete-forensic-attribution-of-backdoored-code-completions",29,1784194661,{"doc_id":211,"doc_title":212,"file_type":137,"home_preview_img_url":213,"slug":214,"view_count":215,"category_name":40,"create_tm":216},31803,"Prevention of Prompt Injection Attacks Over Financial Applications Integrated with LLM","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229749241057/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796214899&Signature=3icshDw%2B2hP%2FHF6DNnRZajevm0Y%3D","prevention-of-prompt-injection-attacks-over-financial-applications-integrated-with-llm",79,1780174846,{"doc_id":218,"doc_title":219,"file_type":137,"home_preview_img_url":220,"slug":221,"view_count":19,"category_name":40,"create_tm":222},721659,"ClawKeeper - v1 - Comprehensive Safety Protection for OpenClaw Agents Through Skills, Plugins, and Watchers","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024733699/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796214899&Signature=tbZg55HUmjwcvegVMWBdwnVwgYo%3D","clawkeeper-v1-comprehensive-safety-protection-for-openclaw-agents-through-skills-plugins-and-watchers",1795064287,{"doc_id":224,"doc_title":225,"file_type":137,"home_preview_img_url":226,"slug":227,"view_count":139,"category_name":40,"create_tm":228},405859,"Mapping the technological evolution of generative AI - patent network analysis","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229920411929/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796214899&Signature=QpVJNnOr8llIKwDn5%2FFo3D2lb%2F4%3D","mapping-the-technological-evolution-of-generative-ai-patent-network-analysis",1790562164]