Loop with Unreachable Exit Condition ('Infinite Loop') vulnerability in device certificate verification in nerves-hub nerves_hub_web allows an unauthenticated remote attacker to cause a denial of service via a TLS client certificate whose CA is not registered. When a client certificate chains to a root in the device endpoint's trust store but no CA in the chain is registered in NervesHub, NervesHub.SSL.decide/2 refuses it with the reason :unknown_ca. Erlang/OTP ssl reads that reason as a missing trust anchor, looks for an alternative root, finds the same root and validates again without end. The handshake process queries the database on each pass and keeps running after the client disconnects, until the node restarts.
The device endpoint trusts the public roots from CAStore unless DEVICE_SSL_CACERTFILE is set, so a client certificate from a public CA whose chain allows client authentication is sufficient. A chain that ends at a root outside the trust store is refused once.
This issue affects nerves_hub: from 1.0.0 before 2.5.4.
AdminNeo versions before 5.9.1 have an authentication bypass vulnerability in the OtpLoginPlugin. Attackers who know the database password can bypass TOTP verification by exploiting the permanent-login cookie mechanism. By submitting a login with an incorrect OTP and setting permanent=1, attackers can obtain a neo_permanent cookie, which can then be replayed to gain full authenticated access to the database.
AdminNeo versions before 5.9.1 contain an authentication bypass vulnerability in the sqlsrv-based MS SQL driver. This flaw allows unauthenticated attackers to log in by submitting an empty username and any non-empty password, triggering Windows integrated authentication. Successful exploitation grants a full session with the web server identity's SQL Server privileges.
AdminNeo versions before 5.9.1 contain a server-side request forgery (SSRF) vulnerability that allows unauthenticated attackers to bypass privileged-port restrictions. By injecting separator characters or connection-string keywords into the login server field, attackers can manipulate pgsql, Mongo, Oracle, and PDO drivers to connect to unintended internal hosts and ports. This can lead to limited information leakage through driver responses and error messages.
AdminNeo versions before 5.9.1 have a filter injection vulnerability in their MongoDB driver. This flaw allows attackers who can store crafted documents to manipulate delete or edit operations, causing unintended documents to be affected, including potential deletion of entire collections or modification of other documents. The vulnerability has a low severity rating and a CVSS score of 3.7.
AdminNeo versions before 5.9.1 contain a stored cross-site scripting (XSS) vulnerability in the FileUploadPlugin. This flaw allows database users to upload SVG files containing malicious scripts without sanitization. When an administrator opens the link to such a file, the embedded script executes in their browser session, potentially compromising the admin interface.
AdminNeo versions before 5.9.1 contain a remote code execution vulnerability that affects authenticated SQLite users. The flaw allows bypassing the check_sqlite_name() extension guard by using PDO_SQLite file: URI database names. Attackers can exploit this by selecting the PDO driver and submitting crafted file names to create PHP files with malicious code stored as table data, leading to code execution.
AdminNeo versions before 5.9.1 contain an SQL injection vulnerability that allows remote attackers to inject SQL commands by supplying crafted IN and NOT IN search values. This occurs because the process_length() function passes these values unescaped. An attacker can exploit this by sending a logged-in user a specially crafted cross-site GET request with a backslash-escaped apostrophe, enabling blind SQL injection with the user's database privileges on multiple database systems including PostgreSQL, SQLite, MS SQL, Oracle, and MySQL in NO_BACKSLASH_ESCAPES mode.
AdminNeo versions before 5.9.1 have a stored HTML injection vulnerability that allows database users with CREATE, ALTER, or INDEX privileges to inject malicious markup via crafted FULLTEXT index names. This injected markup is rendered unescaped in the selection search form, enabling potential meta refresh redirects, content spoofing, and form tampering against other users. The vulnerability has a low severity rating and a CVSS score of 3.0.
AdminNeo versions before 5.9.1 contain an open redirect vulnerability that allows unauthenticated attackers to redirect authenticated users to external phishing sites. This is achieved by injecting an external URL through the HTTP Referer header into a hidden referer field in the edit form. The vulnerability can be exploited when users visit a page with an unsafe URL referrer policy containing a specific parameter, leading to redirection after record edits.
AdminNeo versions before 5.9.1 contain a reflected HTML injection vulnerability. This flaw allows remote attackers to inject HTML markup by crafting array keys in the 'where' URL parameter. The injected markup can appear in select search form name attributes, potentially enabling meta refresh redirects and content spoofing when a logged-in user opens a malicious link.
AdminNeo versions before 5.9.1 have a parameter injection vulnerability in the ClickHouse driver. This flaw allows attackers to inject HTTP query parameters via an unencoded db GET parameter. By tricking a logged-in user into clicking a crafted link, attackers can bypass POST-only CSRF protections and execute arbitrary SQL commands under the victim's credentials. This can lead to unauthorized reading, modification, or deletion of data.
AdminNeo versions before 5.9.1 contain a reflected cross-site scripting (XSS) vulnerability in the EditorNeo component. This flaw allows remote attackers to inject JavaScript by inserting quote characters into the request URI. Exploitation can trick authenticated users into clicking crafted edit links that bypass the Content Security Policy (CSP) nonce protection in editor/core/Admin.php, potentially leading to session theft and disclosure of database credentials.
AdminNeo versions before 5.9.1 contain a stored cross-site scripting (XSS) vulnerability in the SlugifyEditPlugin::getFieldInput() function. This vulnerability arises because column names are embedded unescaped in an inline initSlugField() call. An attacker with Data Definition Language (DDL) privileges can create a slug column with a name containing a single quote, enabling JavaScript injection that executes under the page's Content Security Policy (CSP) nonce when a victim opens the table's edit form. The vulnerability has a low severity score and requires high privileges and user interaction.
AdminNeo versions before 5.9.1 contain an SQL injection vulnerability in the ClickHouse driver. The vulnerability arises because the idf_escape() function doubles backticks but fails to escape backslashes in identifiers. This flaw allows an attacker to craft a GET request with a column name ending in a backslash in certain parameters, causing the query text to be parsed as SQL. The vulnerability has a low severity rating and a CVSS score of 3.1.
An incorrect authorization vulnerability in the SNMP parameter of Zyxel EE5301-00 customized firmware version 5.63(ACLD.2)b3_D0 could allow an unauthenticated attacker to cause a denial-of-service (DoS) condition on an affected device.
An out-of-bounds write vulnerability in “libclinkc.so” in Zyxel DX3301-T0/EX3301-T0 firmware versions through 5.50(ABVY.8.3)C0 could allow an unauthenticated attacker to elevate privileges and potentially execute arbitrary commands by sending a crafted HTTP request. WAN access is disabled by default on these devices.
AdminNeo before 5.9.1 contains a stored sql injection vulnerability in the MySQL driver that allows database users with table creation rights to inject SQL through unescaped geometry column names in unconvert_field(). Attackers can craft a column name containing an SQL expression that executes with another AdminNeo user's privileges when they edit a row, save it, or export the table.