Web Applications Findings.
87 findings in web applications, each written up as a report carries it: what the weakness is and what it lets an attacker do, the fix, CVSS 3.1 and 4.0 ratings, the CWE and the references.
Critical7
Expression Language InjectionCVSS 9.8 · CWE-917User input is evaluated by an expression language such as Java EL, SpEL or OGNL, letting an attacker run expressions that reach the server's runtime and execute code.Insecure DeserialisationCVSS 9.8 · CWE-502The application rebuilds objects from serialised data that users can supply, so a crafted object graph can run code or change the application's behaviour when it is deserialised.OS Command InjectionCVSS 9.8 · CWE-78User input is placed into an operating system command that the application runs through a shell, so it can add to or change the commands that are executed.Remote File InclusionCVSS 9.8 · CWE-98User input controls the file that the server-side language includes and a remote address is accepted, so the server fetches and runs code from an attacker's server.Server-Side Code InjectionCVSS 9.8 · CWE-94User input is evaluated as program code by the server-side language, for example through eval(), so an attacker can run their own code on the server.Server-Side Template InjectionCVSS 9.8 · CWE-1336User input is placed into a server-side template's source rather than passed to it as data, so the template engine evaluates the attacker's template syntax.SQL InjectionCVSS 9.8 · CWE-89User input reaches a database query without being separated from the query's own syntax, so it can change what the query does.
High21
Unrestricted File UploadCVSS 8.8 · CWE-434The application accepts uploaded files without properly restricting their type, content and storage, so dangerous files can be run by the server or served to users.Stored Cross-Site Scripting (XSS)CVSS 8.7 · CWE-79Input that the application stores is later shown to other users without encoding for its context, so script saved by an attacker runs in their browsers.Credentials or API Keys in Client-Side CodeCVSS 8.2 · CWE-798Secret credentials, such as private API keys, cloud access keys or service passwords, are embedded in JavaScript or other files sent to the browser, where anyone can read them.LDAP InjectionCVSS 8.2 · CWE-90User input is placed into an LDAP search filter or distinguished name without escaping, so it can change which directory entries a query matches.NoSQL InjectionCVSS 8.2 · CWE-943User input reaches a NoSQL database query as query structure, such as an operator or server-side JavaScript, so it can change which records the query selects.Local File InclusionCVSS 8.1 · CWE-98User input selects the file that the server-side language includes and runs, so an attacker can include unintended local files, disclosing them or running code they contain.Missing Function-Level Access ControlCVSS 8.1 · CWE-862Privileged functions check that a user is signed in but not that their role permits the action, so lower-privileged users can call them directly.Outdated Content Management System or PluginsCVSS 8.1 · CWE-1395The content management system, or plugins, themes or modules installed in it, is an outdated release with publicly known vulnerabilities, some exploitable without logging in.Server-Side Includes (SSI) InjectionCVSS 8.1 · CWE-97User input is written into a page that the web server parses for Server-Side Include directives, so an attacker can inject directives that read files or run commands.Server-Side Prototype PollutionCVSS 8.1 · CWE-1321Server-side JavaScript merges user-supplied keys such as __proto__ into objects, so an attacker can add properties to every object in the application process.Web Cache PoisoningCVSS 8 · CWE-349A shared cache stores a response that was shaped by a request input it does not include in its cache key, so an attacker's harmful response is served to other users.Configuration Files ExposedCVSS 7.5 · CWE-219Configuration files containing settings and secrets, such as .env files, can be downloaded from the web server without authentication.Path TraversalCVSS 7.5 · CWE-22A file path built from user input is not confined to its intended directory, so sequences such as ../ let an attacker read, or sometimes write, other files on the server.Price or Quantity ManipulationCVSS 7.5 · CWE-472The application trusts prices, totals or quantities sent by the browser, so a buyer can change what they are charged or order negative or fractional quantities.Source Code Repository ExposedCVSS 7.5 · CWE-527A version control directory such as .git is served by the web server, letting anyone rebuild the application's source code and full change history.Spring Boot Actuator Endpoints ExposedCVSS 7.5 · CWE-306Spring Boot Actuator management endpoints are reachable without authentication, exposing configuration, memory contents and administrative functions.XML External Entity (XXE) InjectionCVSS 7.5 · CWE-611The application's XML parser resolves external entities declared in user-supplied XML, letting an attacker read local files or make the server send requests.HTTP Request SmugglingCVSS 7.4 · CWE-444A front-end server and the back end behind it disagree about where each HTTP request ends, so an attacker can hide a request inside another and interfere with other users' requests.Server-Side Request Forgery (SSRF)CVSS 7.2 · CWE-918The server fetches a URL or contacts a host chosen by the user, so an attacker can make it send requests to internal systems or cloud services it can reach.Insecure Direct Object Reference (IDOR)CVSS 7.1 · CWE-639The application uses an identifier supplied by the user to find a record or file without checking that the user may access that particular object.Mass AssignmentCVSS 7.1 · CWE-915The application binds request properties straight onto its data objects, so a user can set fields they should not control, such as their role or account status.
Medium27
Cross-Site Request Forgery (CSRF)CVSS 6.5 · CWE-352State-changing requests are accepted on the strength of the browser's cookies alone, so another site can make a logged-in user's browser perform actions without their knowledge.XPath InjectionCVSS 6.5 · CWE-643User input is inserted into an XPath expression that queries XML data, so it can change the expression and return or test data it was not meant to reach.CRLF Injection and HTTP Response SplittingCVSS 6.1 · CWE-113User input containing carriage return and line feed characters is written into an HTTP response header, letting an attacker add headers or split the response.DOM-Based Cross-Site Scripting (XSS)CVSS 6.1 · CWE-79The page's own JavaScript passes attacker-controllable data, such as part of the URL, to a function that treats it as markup or code, so a crafted link can run script.Reflected Cross-Site Scripting (XSS)CVSS 6.1 · CWE-79Input from a request is returned straight away in the page without encoding for its context, so a crafted link can run an attacker's script in the victim's browser.Cross-Site WebSocket HijackingCVSS 5.9 · CWE-1385The WebSocket handshake is authenticated by cookies alone and its Origin is not checked, so a malicious site can open a connection as a signed-in visitor.Files Accessible Without AuthenticationCVSS 5.9 · CWE-552Private files such as uploads, reports or exports can be downloaded by anyone who has their address, because file requests are not checked for a valid session.Business Logic FlawCVSS 5.4 · CWE-841The application does not enforce the rules of its own processes, so steps can be skipped, repeated or combined in ways that give a user an unintended advantage.Host Header InjectionCVSS 5.4 · CWE-348The application trusts the client-supplied Host header, or a forwarding header that overrides it, when it builds links, redirects or routing decisions.HTML InjectionCVSS 5.4 · CWE-79Input is returned in a page without HTML encoding, so an attacker can inject markup such as forms and links, although script execution is prevented.Insecure postMessage HandlingCVSS 5.4 · CWE-940The page exchanges window.postMessage messages without checking the origin of the sender or recipient, so another website can send it commands or receive its data.Reliance on Client-Side Security ControlsCVSS 5.4 · CWE-602Security checks are carried out only in the browser, so anyone who sends requests directly to the server can bypass them.Backup or Temporary Files ExposedCVSS 5.3 · CWE-530Backup, temporary or archive copies of files are left in web-accessible locations, where they can be downloaded and may reveal source code, credentials or data.Debug Mode Enabled in ProductionCVSS 5.3 · CWE-489The application or its framework runs with debug settings in production, exposing detailed errors, internal data and sometimes interactive debugging tools.Directory Listing EnabledCVSS 5.3 · CWE-548The web server lists the contents of directories that have no index page, revealing files that were never meant to be linked or downloaded.Email Header InjectionCVSS 5.3 · CWE-93User input containing line breaks reaches the headers of an email the application sends, so an attacker can add recipients or headers, or replace the message body.Insecure Cross-Origin Resource Sharing (CORS) PolicyCVSS 5.3 · CWE-942The application's CORS policy lets untrusted origins read its responses with the user's credentials, so a malicious site can read a logged-in user's data.phpinfo() Page ExposedCVSS 5.3 · CWE-497A page that calls phpinfo() is publicly accessible, revealing detailed PHP, server and environment information, including values that may be secret.Race Condition (Limit Overrun)CVSS 5.3 · CWE-367A limit is checked and then updated in separate steps, so requests sent at the same moment can all pass the check and exceed the limit.Regular Expression Denial of Service (ReDoS)CVSS 5.3 · CWE-1333A regular expression applied to user input can take exponential time on crafted input, letting a few requests tie up the server's processing capacity.Web Cache DeceptionCVSS 5.3 · CWE-524A caching layer stores a personalised page as if it were a static file, so another person can retrieve a signed-in user's private content from the cache.Administrative Interface Publicly AccessibleCVSS 4.8 · CWE-668An administrative interface can be reached from the internet, so anyone can attempt to sign in to it or attack weaknesses in it.Unencrypted HTTP ServiceCVSS 4.8 · CWE-319The web service is offered over plain HTTP, so anyone on the network path can read and alter its traffic, including credentials and session cookies.Client-Side Prototype PollutionCVSS 4.7 · CWE-1321Client-side JavaScript copies attacker-controllable keys from the URL or other input into objects, polluting the page's prototype and often enabling DOM-based XSS through gadgets.Vulnerable JavaScript LibraryCVSS 4.7 · CWE-1395The application serves a client-side JavaScript library version with publicly known vulnerabilities, such as cross-site scripting or prototype pollution flaws.Content Spoofing (Text Injection)CVSS 4.3 · CWE-451The application displays text taken from the request as part of its own page, so an attacker can make the site show misleading messages to users who follow a crafted link.Open RedirectCVSS 4.3 · CWE-601The application redirects users to an address taken from the request without validating it, so a link to the genuine site can send users on to any other site.
Low22
Default or Sample Content PresentCVSS 3.7 · CWE-1188Default pages, sample applications or documentation installed with the server or framework remain accessible on the production site.HTTP Parameter PollutionCVSS 3.7 · CWE-235The application handles a parameter supplied more than once inconsistently, so one component can validate one value while another acts on a different one.HTTP TRACE Method EnabledCVSS 3.7 · CWE-749The server answers HTTP TRACE requests by echoing back the request it received, which can reveal headers added by proxies and other intermediaries.IIS Short Filename DisclosureCVSS 3.7 · CWE-204IIS responds differently to requests that match a file's short 8.3 name, letting an attacker work out the start of file and folder names in the web root.Internal IP Address DisclosureCVSS 3.7 · CWE-497Responses reveal private IP addresses or internal host names of the servers behind the application, giving an attacker details of the internal network.Sensitive Information in Source Code CommentsCVSS 3.7 · CWE-615HTML, JavaScript or CSS comments sent to the browser contain information useful to an attacker, such as internal host names, file paths, developer notes or credentials.Server Status Page ExposedCVSS 3.7 · CWE-497A web server status page, such as Apache's /server-status, is publicly reachable and shows live details of the server and the requests it is handling.Unnecessary HTTP Methods EnabledCVSS 3.7 · CWE-749The server accepts HTTP methods the application does not need, such as PUT, DELETE or WebDAV methods, widening what an attacker can attempt.Verbose Error MessagesCVSS 3.7 · CWE-209Error responses reveal internal details such as stack traces, file paths, software versions or database queries that help an attacker plan further attacks.WordPress XML-RPC EnabledCVSS 3.7 · CWE-307The WordPress XML-RPC interface (xmlrpc.php) is reachable, giving attackers another login route for password guessing and a pingback function that makes the server fetch addresses they choose.Clickjacking (Missing Frame Protection)CVSS 3.1 · CWE-1021The application's pages can be loaded in a frame on another site, so an attacker can disguise them and trick users into clicking on them.Cookie Without the Secure AttributeCVSS 3.1 · CWE-614A sensitive cookie, often the session cookie, is set without the Secure attribute, so the browser will also send it over unencrypted HTTP connections to the same host.HTTP Strict Transport Security (HSTS) Not EnforcedCVSS 3.1 · CWE-319The site does not send an effective Strict-Transport-Security header, so browsers may still make HTTP requests to it that an attacker can intercept and downgrade.Insecure JSONP EndpointCVSS 3.1 · CWE-346An endpoint returns data as JSONP, a script any website can load, so other sites may read data meant for the logged-in user or inject script through the callback name.Mixed ContentCVSS 3.1 · CWE-319Pages served over HTTPS load some resources over plain HTTP, which an attacker on the network path can observe or replace, depending on the browser.Overly Broad Cookie ScopeCVSS 3.1 · CWE-668A sensitive cookie is scoped to a parent domain or an over-broad path, so the browser also sends it to other hosts or applications that should not receive it.Overly Permissive Cross-Domain Policy FileCVSS 3.1 · CWE-942A crossdomain.xml or clientaccesspolicy.xml file allows content from any domain to read the site's responses through browser plug-ins that are now obsolete.Reverse TabnabbingCVSS 3.1 · CWE-1022A page opened from the application in a new tab keeps a reference to the original tab, so a malicious page can silently replace it with a phishing page.Sensitive Information in URLsCVSS 3.1 · CWE-598Sensitive values such as passwords, API keys, tokens or personal data are placed in URLs, where browsers, servers, proxies and third parties record them.Third-Party Scripts Without Subresource IntegrityCVSS 3.1 · CWE-494Scripts or stylesheets are loaded from third-party servers without an integrity hash, so a malicious change to those files would run in the application's pages unchecked.CSV (Formula) InjectionCVSS 3 · CWE-1236User-supplied values are written into CSV or spreadsheet exports without neutralisation, so a spreadsheet program can run them as formulas when the export is opened.Sensitive Content CacheableCVSS 2.8 · CWE-525Pages or API responses containing sensitive data are sent without directives that stop browsers and intermediate caches storing them, so copies may be recovered later.
Informational10
Content Security Policy Missing or WeakCVSS 0 · CWE-693The application sends no Content Security Policy, or one too permissive to stop injected script running, so the browser places no effective limit on what its pages may load or execute.Cookie Without a SameSite AttributeCVSS 0 · CWE-1275A sensitive cookie is set without a SameSite attribute, so whether browsers attach it to requests started by other sites depends on each browser's default.Cookie Without the HttpOnly AttributeCVSS 0 · CWE-1004A sensitive cookie is set without the HttpOnly attribute, so script running in the page, including script injected through cross-site scripting, can read its value.Password Field Autocomplete EnabledCVSS 0 · CWE-522A password field does not disable browser autocompletion, so browsers may offer to save the credentials, although current browsers ignore that setting for login fields.Permissions-Policy Header MissingCVSS 0 · CWE-693No Permissions-Policy header restricts which powerful browser features, such as the camera, microphone or geolocation, the application's pages and embedded frames may use.Referrer-Policy Header MissingCVSS 0 · CWE-201No Referrer-Policy header is set, so how much of a page's address is sent to other sites in the Referer header depends on each browser's default.security.txt Not PublishedCVSS 0 · CWE-1059The site does not publish a security.txt file, so people who find a vulnerability have no clear, standard way to report it to the organisation.Sensitive Paths Disclosed in robots.txtCVSS 0 · CWE-538The robots.txt file lists paths the organisation would rather keep hidden, such as administrative or internal areas, pointing anyone who reads it straight to them.Server Software Version DisclosureCVSS 0 · CWE-497HTTP response headers or default pages name the web server, framework or language and their versions, which helps an attacker select known exploits.X-Content-Type-Options Header MissingCVSS 0 · CWE-693Responses do not carry the X-Content-Type-Options: nosniff header, so browsers may guess a response's content type instead of relying on the declared one.
The Other Areas
Authentication and Sessions 32APIs 16TLS and Certificates 20Network Services 56Internal Networks 9Active Directory 44Windows and Linux Hosts 29Patching and Outdated Software 36AWS 19Azure and Microsoft 365 19Google Cloud 11Containers and Kubernetes 17Mobile Applications 22Wireless 11Email and DNS 11Thick Clients 11Source Code and Supply Chain 13AI and LLM Applications 8Social Engineering and Physical 14IoT and OT 5