FYI, I did ask Claude specifically about Apache JSPWiki since I don't want to
burn
up my own rather expensive tokens to scan the entire code base (I'm not a
wealthy
man), and here's its recommendation:
----
Being an open-source project you don't own changes the plan in a few useful
ways.
# What gets cheaper
- CodeQL is free here. JSPWiki is public on GitHub, so you can fork it, enable
code scanning, and run the `security-extended` query suite at no cost. It
handles Maven multi-module builds well.
- Dependency scanning is trivial. Run OWASP Dependency-Check or OSV-Scanner
against the root `pom.xml` and you get the full transitive tree across
modules.
- Skip the AI for rediscovery. JSPWiki has a long history of published CVEs,
many of them XSS, plus some path traversal and access-control issues. Check
the project's security page and the CVE list first, so you don't spend tokens
re-finding fixed bugs. Also scan the current master branch, not an old
release.
# Where AI is worth paying for in JSPWiki specifically
Pattern tools are weakest on logic and on the non-Java parts, so target:
- Markup rendering and plugins: the wiki syntax parser and renderer, and
plugin/variable processing. This is the classic XSS surface, and sanitization
logic needs reasoning to evaluate.
- JSP templates: CodeQL's Java analysis doesn't cover these well, so use Semgrep
for JSPs plus LLM review of the ones that echo user input.
- Auth and permissions: the ACL and JAAS/security policy code, and the check
that
gates each page action.
- Attachments and page providers: file upload, filename handling, and anything
that maps page names to filesystem paths.
- Other entry points: the servlets and filters, and any remote API endpoints
(such as XML-RPC), for authz and parsing issues.
Pick those directories by grep, then send each endpoint plus its called methods
to a cheap model for triage, escalating only the uncertain ones.
# Ground rules
Read-only analysis of public source is standard security research. If you find
something real, report it privately to the Apache Security Team
([email protected])
rather than opening a public issue, and avoid testing against anyone's live
wiki.
Keep any proof-of-concept inside your own local install.
On 11/23/26 07:22, Murray Altheim wrote:
Hi Arturo,
> If you
> want to try it by hand and send verified results privately, that is welcome.
I'm traveling so I'm not able to do anything with my home workstation,
won't be back until December.
CHeers,
Murray
On 11/22/26 16:44, Arturo Bernal via dev wrote:
Hi Murray, thanks for the idea. Tool-assisted review can help, with two
conditions: anything that looks like a vulnerability has to go to the
private security list, never to a public issue or PR, and every finding
must come with a reproducible case, because unverified AI output is mostly
false positives. I would not run it automatically on every push. If you
want to try it by hand and send verified results privately, that is welcome.
Arturo
Arturo
On Sun, Nov 22, 2026 at 1:57 AM Murray Altheim <[email protected]> wrote:
Was: Re: 500 internal server errors and really slow response times on
https://jspwiki-wiki.apache.org
Hi,
I recently watched a YouTube video about Next-Concept Modeling (NCM):
Stanford's NCM Is Coming… and It Could Be Worse Than AI
https://youtu.be/o8zuaPbbaGU?si=AfDXetVkhxfo3iov
As part of that video I learned that back last June, CloudFare noted for
the
first time that automated bots accounted for 57.5% of all internet traffic,
the first time this exceeded humans. In 2025, 53% of all web traffic was
bots,
and 40% were malicious bots. In 2025 Thales (alone) blocked 17.2 trillion
bot
requests. Over the next year, automated requests grew by 7851%. And with
NCM
this could suddenly get a lot worse.
What I'm wondering is this: might we consider using AI to perform some
kind of
(hopefully repeatable) penetration testing, i.e., locate any
vulnerabilities in
JSPWiki? This would seem to be prudent given the fundamental nature of the
Web
itself seems to have changed in the past year or so.
This could be set up as an agent action on GitHub or something akin. I'm
not
sure what the best approach might be, hence starting a thread to explore
the
idea. What do you folks think?
Cheers,
Murray
On 11/22/26 05:03, Juan Pablo Santos Rodríguez wrote:
Hi,
so it seems that a spike of 32K requests stormed the server, causing
an OOM, there were more requests than tomcat was able to handle. Logs
show that the same pages / attachments were requested over and over,
so probably it was bot traffic.
Upgraded the memory used by tomcat to take as much as the VM allows,
and configured to dump memory and exit tomcat instead of hang, so it
can be restarted next time this happens
best regards,
juan pablo
On Sat, Nov 21, 2026 at 5:56 PM Jürgen Weber <[email protected]> wrote:
Apache httpd before the Wiki would only take away the SSL load, which
shouldn't be much. But one could add several Wiki instances and have
httpd round-robin them. Or a static front page, which links to the
download.
But if JSPWiki indeed can't stand the load, one should search for the
cause. Jira?
Don't think it is Tomcat's fault.
At least the wiki instance could be monitored. If curl fails, send mail.
Greetings,
Juergen
Am Sa., 21. Nov. 2026 um 14:44 Uhr schrieb Juan Pablo Santos Rodríguez
<[email protected]>:
Hi!
I won't be at home until a few hours, but will check as I'm able to.
Will
also try to update to 2.12.6 too.
Last time the wiki instance died b/c of just too many requests,
perhaps it
is time to put some httpd to cache requests.
best regards,
juan pablo
El sáb, 21 nov 2026, 14:26, Arturo Bernal via dev <
[email protected]>
escribió:
Hi Alex,
Sorry, I do not have access to the VM either ("Permission denied
(publickey)"). I have opened INFRA-28701 to ask Infra for access.
Juan Pablo, can you check the Tomcat logs if you have access? Please
save the last lines before any restart.
Arturo
On 11/21/26 2:14 PM, Alex O'Ree via dev wrote:
I don't believe i have access to the VM. Can someone with access
check
the logs to see what's going on?