Year: 2025
Type: dissertation
Abstract: Nowadays the entire world is connected within itself.Not only can we sense a growth in the use of the internet as a whole, but also of cyber-threats, threatening to disrupt normal day-to-day use of software systems.Because of this, knowing what kinds of systems we use and what vulnerabilities they might have is crucial.The most used type of system is synchronous in nature, where participants have to wait for one another to complete information exchanges.These kinds of systems, being simpler, present a much simpler and because of that a much more studied vulnerability landscape than their counterparts, which are asynchronous in the sense that the involved parties do not need to wait for one another to communicate.One such example of the latter type of system are Event-Driven Systems which, as mentioned, lack security and vulnerability research.Reviewing what research has been done by academia revealed a major research gap in the area of vulnerabilities in Event-Driven Systems.Furthermore, historical analysis indicated that there was no trend in growing or lack of interest in researching this topic.Several efforts exist to document and research adjacent topics but none of those focus solely on Event-Driven Systems.To expand research into this topic, in this dissertation we propose a tripartite solution, consisting of a: 1) taxonomy on vulnerabilities in Event-Driven Systems; 2) a Threat Model for Event-Driven Systems, specially those based on Apache Kafka; 3) Opfuzz, a tool capable of fuzzing policies developed for the Open Policy Agent (OPA) platform and possibly uncover some flaw with the policy's implementation.The taxonomy was built from a corpus of 17 articles, covering topics ranging from unauthorized system access to misconfiguration of security policies.4 main categories of vulnerabilities were discovered: Broken Access, Deserialization Issues, Policy Misconfiguration and Security Misconfiguration.The Threat Model, developed based on the previously defined vulnerability categories, involved attempting actual exploits against vulnerable (albeit controlled) targets in attempts to validate the categories defined in the taxonomy.Lastly, Opfuzz, for fuzzing authorization policies, is capable of reading as input a Rego file, figuring out the shape of its input and generating values according to that shape.A report is generated which was then sent to a domain expert for manual analysis.The results of the Threat Model show that the categorization efforts resulted in correct and valid categories, representing common vulnerabilities in the Event-Driven vulnerability landscape.Results of the validation report generated by Opfuzz show that it helped uncover previously unknown errors in an example Rego policy, attesting to the tool's capability of helping uncover more kinds of vulnerabilities.
Author: Nuno Afonso Anjos Pereira
Institution: Universidade do Porto
Language: English
Subfield: Information Systems
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W7077179898
