A single legacy Perl / mod_perl monolith behind AWS CloudFront serves both the corporate site and the ~160-store Tuneportals fleet.
Edge-layer blocking observed: repeated requests got a FunctionGeneratedResponse 403 (a CloudFront Function also handles the www→apex redirect). Whether AWS WAF / Bot Control sits behind it isn't confirmable from outside.
RSA 2048 · CN=broadtime.com
valid to Dec 2026
Confirm issuance/auto-renewal in the AWS console.
Apache/2.4.52 (Unix)
mod_perl/2.0.13 · Perl 5.32.1
Corporate site + Tuneportals storefronts/admin (same infra) · the marketplace (separate, newer) · the Stripe cart rewrite in flight.
The security headers below appear even on CloudFront's own 403 error page → they're injected at the edge (a Response Headers Policy or Function), not by Apache. So most hardening is a one-place change applied across the whole fleet. The version banner, by contrast, leaks straight from the Apache origin and must be fixed there.
Severity P1 (fix soon) → P3 (hygiene).
| Sev | Finding | Evidence | Fix |
|---|---|---|---|
| P1 | Software version disclosure Exact origin versions ease CVE targeting. Apache 2.4.52 (Dec '21) is well behind current 2.4.x, though a banner alone doesn't prove it's unpatched, since distros backport. | Server: Apache/2.4.52 mod_perl/2.0.13 Perl/v5.32.1 | ServerTokens Prod + ServerSignature Off at origin; verify the binary's backport/patch level. |
| P1 | No Content-Security-Policy No defense-in-depth against XSS, the top risk for a server-rendered app feeding a cart/checkout. | CSP header absent | Add a CSP at the edge; ship -Report-Only first, then enforce. |
| P2 | HSTS not scoped to subdomains Store/admin subdomains aren't covered; not preload-eligible. | Strict-Transport-Security: max-age=31536000 | Add includeSubDomains; preload after confirming all subdomains are HTTPS. |
| P2 | Deprecated XSS filter Legacy header that can itself introduce bugs in old browsers. | X-XSS-Protection: 1; mode=block | Set to 0; rely on CSP instead. |
| P2 | No Permissions-Policy / isolation No control over powerful browser features (camera, geolocation, payment). | Permissions-Policy / COOP absent | Add Permissions-Policy + Cross-Origin-Opener-Policy at the edge. |
| P3 | Dead P3P policy header Abandoned standard, ignored by modern browsers. | p3p: policyref="/w3c/p3p.xml" | Remove it. |
| P3 | No security.txt No coordinated-disclosure channel for a 190-store fleet. | /.well-known/security.txt → 403 | Publish a contact + policy URL. |
| P3 | Legacy charset / doctype Correlates with old escaping; encoding mismatches enable XSS edge cases. | HTML 4.01 · charset=ISO-8859-1 | Migrate to UTF-8 + HTML5. |
CloudFront edge blocking on abusive requests · Amazon-issued TLS cert · HSTS present · X-Frame-Options: SAMEORIGIN · X-Content-Type-Options: nosniff · Referrer-Policy: strict-origin-when-cross-origin.
# Wire via the policy's sub-configs:
# SecurityHeadersConfig → HSTS, XSS, X-Frame, nosniff
# CustomHeadersConfig → CSP, Permissions-Policy, COOP
# RemoveHeadersConfig → drop P3P
# Each CSP value is ONE header line (wrapped to read).
# Ship report-only first, enforce once tuned:
Content-Security-Policy-Report-Only:
default-src 'self';
script-src 'self' 'nonce-{rand}'
https://js.stripe.com https://*.googletagmanager.com;
connect-src 'self' https://*.stripe.com
https://*.google-analytics.com;
frame-src https://js.stripe.com;
img-src 'self' data: https:;
style-src 'self' 'unsafe-inline';
frame-ancestors 'self';
form-action 'self'; base-uri 'self'
Strict-Transport-Security:
max-age=63072000; includeSubDomains; preload
Permissions-Policy:
geolocation=(), camera=(), microphone=(), payment=(self)
Cross-Origin-Opener-Policy: same-origin
X-XSS-Protection: 0 # was 1; mode=block
# stop leaking versions
ServerTokens Prod
ServerSignature Off
Header unset P3P
Enforce CSP only after report-only is clean: inline handlers need nonces or hashes, and every third party (Stripe, GTM/GA4, Meta, Bing) must be allowlisted first, or it'll break checkout and the storefronts.
broadtime.com + ~160 Tuneportals stores
Tuneportals store-management UI