<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:"Calibri",sans-serif;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoPlainText>Thanks.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Everything in the web directory is owned by siteadmin:site, including subdirectories and their contents.   Above the web directory in the site home directory, it's different, not sure if this is a problem.  The logs directory owned by SITE22-logs:site19 seems strange.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>I know the most common problem that web designers have with FTP and BlueOnyx is that the web directory isn’t / it's /web.  But supposedly this CMS was already configured and working for a couple years, so it should have been configured right.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>BTW, that php.d directory is empty.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText><span style='font-family:"Courier New"'>drwxrwsr-x 8 nobody      site19  4096 Sep 20  2017 .<o:p></o:p></span></p><p class=MsoPlainText><span style='font-family:"Courier New"'>drwxrwxr-x 3 root        root    4096 Nov 17  2014 ..<o:p></o:p></span></p><p class=MsoPlainText><span style='font-family:"Courier New"'>drwxr-s--x 9 SITE22-logs site19  4096 Jan 27  2019 logs<o:p></o:p></span></p><p class=MsoPlainText><span style='font-family:"Courier New"'>drw-r-Sr-- 2 root        site19  4096 Sep 20  2017 php.d<o:p></o:p></span></p><p class=MsoPlainText><span style='font-family:"Courier New"'>drwxrwsr-x 2 nobody      site19  4096 Nov 17  2014 users<o:p></o:p></span></p><p class=MsoPlainText><span style='font-family:"Courier New"'>drwxr-sr-x 3 root        site19  4096 Nov 17  2014 .users<o:p></o:p></span></p><p class=MsoPlainText><span style='font-family:"Courier New"'>drwxrwsr-x 7 nobody      site19  4096 Oct 11  2016 web<o:p></o:p></span></p><p class=MsoPlainText><span style='font-family:"Courier New"'>drwxr-xr-x 2 apache      site19 20480 Jul 30 04:59 webalizer<o:p></o:p></span></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>-----Original Message-----<br>From: Blueonyx <blueonyx-bounces@mail.blueonyx.it> On Behalf Of Michael Stauber<br>Sent: Tuesday, July 30, 2019 6:31 PM<br>To: blueonyx@mail.blueonyx.it<br>Subject: [BlueOnyx:23046] Re: CushyCMS and ProFTPD</p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Hi Ken,<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>> I looked in var/log/messages and I see a bunch of lines like this, not <o:p></o:p></p><p class=MsoPlainText>> sure what they mean or why the are occurring now and not previously.  <o:p></o:p></p><p class=MsoPlainText>> Customer would be using site admin credentials, wouldn't even know root login.<o:p></o:p></p><p class=MsoPlainText>> <o:p></o:p></p><p class=MsoPlainText>> Jul 30 14:31:06 blueonyx proftpd[5435]: 69.49.197.254<o:p></o:p></p><p class=MsoPlainText>> (198.74.49.153[198.74.49.153<o:p></o:p></p><p class=MsoPlainText>> ]) - ROOT PRIVS: unable to seteuid(): Operation not permitted Jul 30 <o:p></o:p></p><p class=MsoPlainText>> 14:31:06 blueonyx proftpd[5435]: 69.49.197.254<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Yeah, ProFTPd doesn't allow user "root" and never has. A seteuid() call happens when a program drops privileges to do something as a lesser user and when it's done it tries to regain the same UID/GID as before via seteuid(). It's something I'm sort of sure ProFTPd doesn't allow without full reauthentication, because from a security point of view it's *very* tricky to get right. In the nooks and crannies of such code usually there often is room for exploits and that's why sensible people don't implement it - unless they really *have* to. And then it's usually the best audited and most well tested part of the code, because one false step and it can get exploited.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>The last ProFTPd update only changed two things: mod_ban and mod_geoip got activated by default. Other than that it's just ProFTPd 1.3.6-RC1 vs ProFTPd-1.3.5.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Are the files in the webspace owned by that siteAdmin or by someone else? This could be where the seteuid() call comes from. Say the files are owned by nobody:siteX or apache:siteX and not by the siteAdmin:siteX.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>--<o:p></o:p></p><p class=MsoPlainText>With best regards<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Michael Stauber<o:p></o:p></p><p class=MsoPlainText>_______________________________________________<o:p></o:p></p><p class=MsoPlainText>Blueonyx mailing list<o:p></o:p></p><p class=MsoPlainText><a href="mailto:Blueonyx@mail.blueonyx.it"><span style='color:windowtext;text-decoration:none'>Blueonyx@mail.blueonyx.it</span></a><o:p></o:p></p><p class=MsoPlainText><a href="http://mail.blueonyx.it/mailman/listinfo/blueonyx"><span style='color:windowtext;text-decoration:none'>http://mail.blueonyx.it/mailman/listinfo/blueonyx</span></a><o:p></o:p></p></div></body></html>